Layout improvements in device authentication screen

This commit is contained in:
daniel oeh 2013-09-19 11:42:51 +02:00
parent b06186b300
commit 2bfee6d467
2 changed files with 16 additions and 4 deletions

View File

@ -33,12 +33,24 @@
android:layout_below="@id/txtvDescription" android:layout_below="@id/txtvDescription"
android:layout_margin="8dp"/> 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 <EditText
android:id="@+id/etxtDeviceID" android:id="@+id/etxtDeviceID"
android:layout_width="match_parent" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:hint="@string/gpodnetauth_device_deviceID"
android:layout_below="@id/etxtCaption" android:layout_below="@id/etxtCaption"
android:layout_toRightOf="@id/txtvDeviceID"
android:layout_alignParentRight="true"
android:layout_margin="8dp"/> android:layout_margin="8dp"/>
<Button <Button

View File

@ -276,10 +276,10 @@
<string name="password_label">Password</string> <string name="password_label">Password</string>
<string name="gpodnetauth_device_title">Device Selection</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_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_caption">Caption</string>
<string name="gpodnetauth_device_butCreateNewDevice">Create new device</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_errorEmpty">Device ID must not be empty</string>
<string name="gpodnetauth_device_errorAlreadyUsed">Device ID already in use</string> <string name="gpodnetauth_device_errorAlreadyUsed">Device ID already in use</string>