AntennaPod/res/layout/gpodnetauth_device.xml

116 lines
4.4 KiB
XML
Raw Normal View History

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_device_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_device_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/etxtCaption"
2013-08-31 20:02:56 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/gpodnetauth_device_caption"
2013-08-31 20:02:56 +02:00
android:layout_below="@id/txtvDescription"
android:layout_margin="8dp"/>
<TextView
android:id="@+id/txtvDeviceID"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/gpodnetauth_device_deviceID"
android:textSize="@dimen/text_size_medium"
android:textColor="?android:attr/textColorSecondary"
android:layout_margin="8dp"
android:layout_alignTop="@+id/etxtDeviceID"
android:layout_alignLeft="@+id/etxtCaption"/>
2013-08-31 20:02:56 +02:00
<EditText
android:id="@+id/etxtDeviceID"
android:layout_width="0dp"
2013-08-31 20:02:56 +02:00
android:layout_height="wrap_content"
android:layout_below="@id/etxtCaption"
android:layout_toRightOf="@id/txtvDeviceID"
android:layout_alignParentRight="true"
2013-08-31 20:02:56 +02:00
android:layout_margin="8dp"/>
<Button
android:id="@+id/butCreateNewDevice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:layout_alignParentRight="true"
android:layout_below="@id/etxtDeviceID"
2013-08-31 20:02:56 +02:00
android:text="@string/gpodnetauth_device_butCreateNewDevice"/>
<TextView
android:id="@+id/txtvError"
2013-09-15 14:46:05 +02:00
android:layout_width="0dp"
2013-08-31 20:02:56 +02:00
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
2013-09-15 14:46:05 +02:00
android:layout_below="@id/etxtDeviceID"
android:layout_toLeftOf="@id/butCreateNewDevice"
2013-08-31 20:02:56 +02:00
android:textColor="@color/download_failed_red"
android:layout_margin="16dp"
2013-09-15 14:46:05 +02:00
android:textSize="@dimen/text_size_small"
2013-08-31 20:02:56 +02:00
/>
<ProgressBar
android:id="@+id/progbarCreateDevice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2013-09-04 17:26:07 +02:00
android:layout_alignTop="@id/butCreateNewDevice"
android:layout_toLeftOf="@id/butCreateNewDevice"
2013-08-31 20:02:56 +02:00
android:textColor="@color/download_failed_red"
android:textSize="@dimen/text_size_medium"
android:visibility="gone"
/>
<TextView
android:id="@+id/txtvChooseExistingDevice"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/gpodnetauth_device_chooseExistingDevice"
android:layout_below="@id/butCreateNewDevice"
android:textSize="@dimen/text_size_medium"
android:textColor="?android:attr/textColorSecondary"
android:layout_margin="16dp"/>
<Button
android:id="@+id/butChooseExistingDevice"
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:text="@string/gpodnetauth_device_butChoose"
2013-09-04 17:26:07 +02:00
android:layout_below="@+id/spinnerChooseDevice"
android:layout_alignLeft="@+id/butCreateNewDevice"
android:layout_alignRight="@+id/butCreateNewDevice"/>
2013-08-31 20:02:56 +02:00
<Spinner
android:id="@+id/spinnerChooseDevice"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_below="@id/txtvChooseExistingDevice"
android:layout_alignParentLeft="true"
2013-09-04 17:26:07 +02:00
android:layout_margin="8dp"
android:layout_alignParentRight="true"/>
2013-08-31 20:02:56 +02:00
</RelativeLayout>