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
|
2013-09-02 15:13:00 +02:00
|
|
|
android:id="@+id/etxtCaption"
|
2013-08-31 20:02:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-09-02 15:13:00 +02:00
|
|
|
android:hint="@string/gpodnetauth_device_caption"
|
2013-08-31 20:02:56 +02:00
|
|
|
android:layout_below="@id/txtvDescription"
|
|
|
|
android:layout_margin="8dp"/>
|
|
|
|
|
|
|
|
<EditText
|
2013-09-02 15:13:00 +02:00
|
|
|
android:id="@+id/etxtDeviceID"
|
2013-08-31 20:02:56 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-09-02 15:13:00 +02:00
|
|
|
android:hint="@string/gpodnetauth_device_deviceID"
|
|
|
|
android:layout_below="@id/etxtCaption"
|
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"
|
2013-09-02 15:13:00 +02:00
|
|
|
android:layout_below="@id/etxtDeviceID"
|
2013-08-31 20:02:56 +02:00
|
|
|
android:text="@string/gpodnetauth_device_butCreateNewDevice"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/txtvError"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_below="@id/etxtCaption"
|
|
|
|
android:layout_alignBottom="@id/butCreateNewDevice"
|
|
|
|
android:textColor="@color/download_failed_red"
|
|
|
|
android:layout_margin="16dp"
|
|
|
|
android:textSize="@dimen/text_size_medium"
|
|
|
|
/>
|
|
|
|
|
|
|
|
<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"
|
2013-09-02 15:13:00 +02:00
|
|
|
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>
|