diff options
author | Paul Lawrence <paullawrence@google.com> | 2014-10-28 11:32:42 -0700 |
---|---|---|
committer | Paul Lawrence <paullawrence@google.com> | 2014-10-28 19:01:18 +0000 |
commit | 59717ad3a7425879cbd7b91316d81cb7a9e5cc3c (patch) | |
tree | 80263122afacb99fcf78bbadaa4be4065a5e171d /res | |
parent | 4aab7ecb56e9af4600b126c67d7efe0b7e1f6ee1 (diff) | |
download | packages_apps_Settings-59717ad3a7425879cbd7b91316d81cb7a9e5cc3c.zip packages_apps_Settings-59717ad3a7425879cbd7b91316d81cb7a9e5cc3c.tar.gz packages_apps_Settings-59717ad3a7425879cbd7b91316d81cb7a9e5cc3c.tar.bz2 |
Make emergency button right size
Bug: 18123894
Bug: 17394128
Change-Id: I248890b82f62146e1814172fd8b67e9a39661997
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/crypt_keeper_emergency_button.xml | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/res/layout/crypt_keeper_emergency_button.xml b/res/layout/crypt_keeper_emergency_button.xml index d0004de..0b6f810 100644 --- a/res/layout/crypt_keeper_emergency_button.xml +++ b/res/layout/crypt_keeper_emergency_button.xml @@ -19,15 +19,21 @@ <!-- Emergency call button. Text is set by CryptKeeper.updateEmergencyCallButtonState() --> -<Button +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/emergencyCallButton" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="0dp" - android:layout_gravity="center_horizontal" - android:textSize="14sp" - android:fontFamily="sans-serif" - android:textColor="#FFFFFF" android:layout_weight="1" - android:gravity="bottom" - style="?android:attr/borderlessButtonStyle" /> + android:orientation="vertical" + android:gravity="bottom"> + <Button + android:id="@+id/emergencyCallButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:textSize="14sp" + android:fontFamily="sans-serif" + android:textColor="#FFFFFF" + style="?android:attr/borderlessButtonStyle" /> + +</LinearLayout> |