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
This commit is contained in:
Paul Lawrence
2014-06-12 07:59:43 -07:00
parent 72a00c459c
commit b191bcc3bf

View File

@@ -21,7 +21,7 @@
<LinearLayout <LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="wrap_content" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_horizontal" android:layout_gravity="center_horizontal"
> >
@@ -36,17 +36,18 @@
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/enter_password" android:text="@string/enter_password"
android:drawableLeft="@*android:drawable/ic_lock_idle_lock" android:drawableLeft="@*android:drawable/ic_lock_idle_lock"
android:layout_gravity="center_horizontal"
/> />
<TextView <TextView
android:id="@+id/owner_info" android:id="@+id/owner_info"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dip" android:layout_marginTop="10dip"
android:layout_marginStart="8dip"
android:layout_marginEnd="8dip"
android:singleLine="true" android:singleLine="true"
android:ellipsize="marquee" android:ellipsize="marquee"
android:marqueeRepeatLimit ="marquee_forever" android:marqueeRepeatLimit ="marquee_forever"
android:scrollHorizontally="true"
android:gravity="center"
android:textSize="16sp" android:textSize="16sp"
android:textAppearance="?android:attr/textAppearanceMedium" android:textAppearance="?android:attr/textAppearanceMedium"
/> />