summaryrefslogtreecommitdiff
path: root/res/layout/gpodnetauth_credentials.xml
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-09-12 12:55:07 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2013-09-12 12:55:07 +0200
commitde5c6a97df094a41419b8f61c91e03c0600bd9f1 (patch)
tree0c1073fda0016ab017195d6dd18edb002983e896 /res/layout/gpodnetauth_credentials.xml
parent2c79135d6a36fc14dc0d77a9e0d2a014cce0c99c (diff)
parente1fc800d088a4b150deb3aff072cda7af8da8ca7 (diff)
downloadAntennaPod-de5c6a97df094a41419b8f61c91e03c0600bd9f1.zip
Merge branch 'move-to-top' of git://github.com/TomHennen/AntennaPod into TomHennen-move-to-top
Diffstat (limited to 'res/layout/gpodnetauth_credentials.xml')
-rw-r--r--res/layout/gpodnetauth_credentials.xml85
1 files changed, 85 insertions, 0 deletions
diff --git a/res/layout/gpodnetauth_credentials.xml b/res/layout/gpodnetauth_credentials.xml
new file mode 100644
index 000000000..b66fc9414
--- /dev/null
+++ b/res/layout/gpodnetauth_credentials.xml
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <TextView
+ android:id="@id/txtvTitle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/gpodnetauth_login_title"
+ android:layout_alignParentTop="true"
+ android:textSize="@dimen/text_size_large"
+ android:layout_margin="16dp"
+ android:textColor="@color/bright_blue"
+ android:textStyle="italic"/>
+
+ <TextView
+ android:id="@id/txtvDescription"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/gpodnetauth_login_descr"
+ android:layout_below="@id/txtvTitle"
+ android:textSize="@dimen/text_size_medium"
+ android:textColor="?android:attr/textColorSecondary"
+ android:layout_margin="16dp"/>
+
+ <EditText
+ android:id="@+id/etxtUsername"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/username_label"
+ android:layout_below="@id/txtvDescription"
+ android:layout_margin="8dp"/>
+
+ <EditText
+ android:id="@+id/etxtPassword"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:hint="@string/password_label"
+ android:layout_below="@id/etxtUsername"
+ android:inputType="textPassword"
+ android:layout_margin="8dp"/>
+
+ <Button
+ android:id="@+id/butLogin"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/etxtPassword"
+ android:layout_alignParentRight="true"
+ android:text="@string/gpodnetauth_login_butLabel"
+ android:layout_margin="8dp"/>
+
+ <TextView
+ android:id="@+id/txtvError"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/etxtPassword"
+ android:layout_alignParentLeft="true"
+ android:layout_toLeftOf="@id/butLogin"
+ android:textColor="@color/download_failed_red"
+ android:textSize="@dimen/text_size_small"
+ android:maxLines="2"
+ android:ellipsize="end"
+ android:gravity="center"
+ android:layout_margin="16dp"/>
+
+ <ProgressBar
+ android:id="@+id/progBarLogin"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ android:layout_alignTop="@+id/butLogin"
+ android:layout_toLeftOf="@+id/butLogin"/>
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textSize="@dimen/text_size_medium"
+ android:textColor="?android:attr/textColorSecondary"
+ android:layout_margin="16dp"
+ android:text="@string/gpodnetauth_login_register"
+ android:autoLink="web"
+ android:layout_below="@id/butLogin"/>
+</RelativeLayout> \ No newline at end of file