2013-08-31 20:02:56 +02:00
|
|
|
<?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:layout_margin="16dp"
|
2014-04-26 23:07:11 +02:00
|
|
|
style="@style/AntennaPod.TextView.Heading"/>
|
2013-08-31 20:02:56 +02:00
|
|
|
|
|
|
|
<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"
|
2013-09-01 14:41:45 +02:00
|
|
|
android:hint="@string/username_label"
|
2013-08-31 20:02:56 +02:00
|
|
|
android:layout_below="@id/txtvDescription"
|
|
|
|
android:layout_margin="8dp"/>
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/etxtPassword"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-09-01 14:41:45 +02:00
|
|
|
android:hint="@string/password_label"
|
2013-08-31 20:02:56 +02:00
|
|
|
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"
|
2013-09-04 17:26:07 +02:00
|
|
|
android:layout_width="0dp"
|
2013-08-31 20:02:56 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@id/etxtPassword"
|
|
|
|
android:layout_alignParentLeft="true"
|
2013-09-04 17:26:07 +02:00
|
|
|
android:layout_toLeftOf="@id/butLogin"
|
2013-08-31 20:02:56 +02:00
|
|
|
android:textColor="@color/download_failed_red"
|
2013-09-04 17:26:07 +02:00
|
|
|
android:textSize="@dimen/text_size_small"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:ellipsize="end"
|
2013-08-31 20:02:56 +02:00
|
|
|
android:gravity="center"
|
|
|
|
android:layout_margin="16dp"/>
|
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progBarLogin"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-09-04 17:26:07 +02:00
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_alignTop="@+id/butLogin"
|
|
|
|
android:layout_toLeftOf="@+id/butLogin"/>
|
2013-08-31 20:02:56 +02:00
|
|
|
|
|
|
|
<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>
|