summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2014-04-27 01:42:48 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2014-04-27 01:42:48 +0200
commitc881b7982c41a3d668ad1e651352029d9e378126 (patch)
treef3b66c1c45779dfe0d77476d2244c057e16a3ad5 /res
parenta0ef9f5a8798e59b5ec40508bc990424d0013ebe (diff)
downloadAntennaPod-c881b7982c41a3d668ad1e651352029d9e378126.zip
Allow modification of feed username and password, propagate credentials to episodes. fixes #395
Diffstat (limited to 'res')
-rw-r--r--res/layout/feedinfo.xml68
-rw-r--r--res/values/strings.xml4
2 files changed, 72 insertions, 0 deletions
diff --git a/res/layout/feedinfo.xml b/res/layout/feedinfo.xml
index d975ef549..90f213e11 100644
--- a/res/layout/feedinfo.xml
+++ b/res/layout/feedinfo.xml
@@ -6,6 +6,8 @@
<RelativeLayout
android:id="@+id/header"
+ android:focusable="true"
+ android:focusableInTouchMode="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical">
@@ -119,6 +121,72 @@
android:textColor="?android:attr/textColorPrimary"/>
<TextView
+ android:id="@+id/txtvAuthentication"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp"
+ android:text="@string/authentication_label"
+ android:textSize="@dimen/text_size_medium"
+ android:textColor="?android:attr/textColorPrimary"
+ android:layout_marginLeft="8dp"
+ android:layout_marginBottom="8dp"
+ android:layout_marginTop="24dp"/>
+
+ <TextView
+ android:id="@+id/txtvAuthenticationDescr"
+ android:text="@string/authentication_descr"
+ android:textSize="@dimen/text_size_small"
+ android:textColor="?android:attr/textColorPrimary"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp"/>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp">
+
+ <TextView
+ android:id="@+id/txtvUsername"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp"
+ android:text="@string/username_label"
+ android:textColor="?android:attr/textColorPrimary"/>
+
+ <EditText
+ android:id="@+id/etxtUsername"
+ android:layout_width="0dp"
+ android:layout_weight="2"
+ android:layout_height="wrap_content"
+ android:hint="@string/username_label"/>
+ </LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp">
+
+ <TextView
+ android:id="@+id/txtvPassword"
+ android:layout_width="0dp"
+ android:layout_weight="1"
+ android:layout_height="wrap_content"
+ android:layout_margin="8dp"
+ android:text="@string/password_label"
+ android:textColor="?android:attr/textColorPrimary"/>
+
+ <EditText
+ android:id="@+id/etxtPassword"
+ android:layout_width="0dp"
+ android:layout_weight="2"
+ android:layout_height="wrap_content"
+ android:hint="@string/password_label"
+ android:inputType="textPassword"/>
+ </LinearLayout>
+
+ <TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="8dp"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 7784c49f6..2eaf611f2 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -357,6 +357,10 @@
<string name="new_episodes_count_label">Number of new episodes</string>
<string name="in_progress_episodes_count_label">Number of episodes you have started listening to</string>
+ <!-- Feed information screen -->
+ <string name="authentication_label">Authentication</string>
+ <string name="authentication_descr">Change your username and password for this podcast and its episodes.</string>
+
<!-- OPML backup -->
<string name="backup_restored">"Restored feed subscriptions from backup"</string>