summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2013-09-19 11:42:51 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2013-09-19 11:42:51 +0200
commit2bfee6d4675f733822bc61ea99dfaf2097794dbd (patch)
treec403fa237893fef8052dc40064794736cd48444f /res
parentb06186b3008892c57fee8c8f50def86a9b3ff6c2 (diff)
downloadAntennaPod-2bfee6d4675f733822bc61ea99dfaf2097794dbd.zip
Layout improvements in device authentication screen
Diffstat (limited to 'res')
-rw-r--r--res/layout/gpodnetauth_device.xml16
-rw-r--r--res/values/strings.xml4
2 files changed, 16 insertions, 4 deletions
diff --git a/res/layout/gpodnetauth_device.xml b/res/layout/gpodnetauth_device.xml
index 45af63e54..e7bfdc425 100644
--- a/res/layout/gpodnetauth_device.xml
+++ b/res/layout/gpodnetauth_device.xml
@@ -33,12 +33,24 @@
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"/>
+
<EditText
android:id="@+id/etxtDeviceID"
- android:layout_width="match_parent"
+ android:layout_width="0dp"
android:layout_height="wrap_content"
- android:hint="@string/gpodnetauth_device_deviceID"
android:layout_below="@id/etxtCaption"
+ android:layout_toRightOf="@id/txtvDeviceID"
+ android:layout_alignParentRight="true"
android:layout_margin="8dp"/>
<Button
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 9778dd4fa..7cf74b0e4 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -276,10 +276,10 @@
<string name="password_label">Password</string>
<string name="gpodnetauth_device_title">Device Selection</string>
<string name="gpodnetauth_device_descr">Create a new device to use for your gpodder.net account or choose an existing one:</string>
- <string name="gpodnetauth_device_deviceID">Device ID</string>
+ <string name="gpodnetauth_device_deviceID">Device ID:\u0020</string>
<string name="gpodnetauth_device_caption">Caption</string>
<string name="gpodnetauth_device_butCreateNewDevice">Create new device</string>
- <string name="gpodnetauth_device_chooseExistingDevice">Choose existring device:</string>
+ <string name="gpodnetauth_device_chooseExistingDevice">Choose existing device:</string>
<string name="gpodnetauth_device_errorEmpty">Device ID must not be empty</string>
<string name="gpodnetauth_device_errorAlreadyUsed">Device ID already in use</string>