diff options
author | Paul Lawrence <paullawrence@google.com> | 2014-06-12 07:59:43 -0700 |
---|---|---|
committer | Paul Lawrence <paullawrence@google.com> | 2014-06-13 18:17:36 +0000 |
commit | b191bcc3bf89449ce6ea87db605a97766b21feb5 (patch) | |
tree | cae22c0811e7d8e073e90dfb868707fcb99cce02 /res/layout/crypt_keeper_status.xml | |
parent | 72a00c459cddc044524e265f0551d2cc67f0352d (diff) | |
download | packages_apps_Settings-b191bcc3bf89449ce6ea87db605a97766b21feb5.zip packages_apps_Settings-b191bcc3bf89449ce6ea87db605a97766b21feb5.tar.gz packages_apps_Settings-b191bcc3bf89449ce6ea87db605a97766b21feb5.tar.bz2 |
Fix owner info
The owner info field was set to be the same size as the status field.
This means, that, for instance, when the status field shows 'Try again'
you only get a very short owner info area.
Change-Id: Ib9b49f8d64d47f0ade686f1f99b2d1a2176cdfc5
Diffstat (limited to 'res/layout/crypt_keeper_status.xml')
-rw-r--r-- | res/layout/crypt_keeper_status.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/res/layout/crypt_keeper_status.xml b/res/layout/crypt_keeper_status.xml index 39e64b0..9015613 100644 --- a/res/layout/crypt_keeper_status.xml +++ b/res/layout/crypt_keeper_status.xml @@ -21,7 +21,7 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" > @@ -36,17 +36,18 @@ android:textAppearance="?android:attr/textAppearanceMedium" android:text="@string/enter_password" android:drawableLeft="@*android:drawable/ic_lock_idle_lock" + android:layout_gravity="center_horizontal" /> <TextView android:id="@+id/owner_info" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dip" + android:layout_marginStart="8dip" + android:layout_marginEnd="8dip" android:singleLine="true" android:ellipsize="marquee" android:marqueeRepeatLimit ="marquee_forever" - android:scrollHorizontally="true" - android:gravity="center" android:textSize="16sp" android:textAppearance="?android:attr/textAppearanceMedium" /> |