diff options
author | Paul Lawrence <paullawrence@google.com> | 2014-07-16 10:21:04 -0700 |
---|---|---|
committer | Paul Lawrence <paullawrence@google.com> | 2014-07-17 13:29:23 -0700 |
commit | aa05738cd2ea933fde7238b153da1e42421d1b02 (patch) | |
tree | 2693e0ba1edc84681c8fbe0d5009628f7d3e4bbd /res/layout/crypt_keeper_pin_entry.xml | |
parent | 5427b9a7990d408df1f2231ec649501f848f7d3d (diff) | |
download | packages_apps_Settings-aa05738cd2ea933fde7238b153da1e42421d1b02.zip packages_apps_Settings-aa05738cd2ea933fde7238b153da1e42421d1b02.tar.gz packages_apps_Settings-aa05738cd2ea933fde7238b153da1e42421d1b02.tar.bz2 |
Final touches to material theme for phones
Fix layout
Improve text color/size
Improve edit box look
Hide status bar at top
Bug: 15328359
Change-Id: Ia0ea75c74b352963ccf47db0ff7c9684adc1f2a3
Diffstat (limited to 'res/layout/crypt_keeper_pin_entry.xml')
-rw-r--r-- | res/layout/crypt_keeper_pin_entry.xml | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/res/layout/crypt_keeper_pin_entry.xml b/res/layout/crypt_keeper_pin_entry.xml index 0f1f1e7..0bcbec5 100644 --- a/res/layout/crypt_keeper_pin_entry.xml +++ b/res/layout/crypt_keeper_pin_entry.xml @@ -20,29 +20,36 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" -> + android:orientation="vertical"> + <include layout="@layout/crypt_keeper_status" /> <LinearLayout - android:layout_height="wrap_content" + android:layout_height="0dp" android:layout_width="match_parent" - android:layout_marginStart="8dip" - android:layout_marginEnd="8dip" - android:orientation="horizontal" - > - <include layout="@layout/crypt_keeper_pin_field" /> + android:layout_weight="1" + android:layout_marginStart="@dimen/crypt_keeper_edit_text_margin" + android:layout_marginEnd="@dimen/crypt_keeper_edit_text_margin" + android:orientation="vertical" + android:gravity="center_vertical"> + + <LinearLayout + android:background="@color/crypt_keeper_password_background" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal"> + <include layout="@layout/crypt_keeper_pin_field" /> + </LinearLayout> + </LinearLayout> <!-- Emergency call button. - Text and icon are set by CryptKeeper.updateEmergencyCallButtonState() --> + Text is set by CryptKeeper.updateEmergencyCallButtonState() --> <Button android:id="@+id/emergencyCallButton" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_gravity="center" - android:layout_marginTop="16dip" - style="?android:attr/borderlessButtonStyle" - android:drawablePadding="6dip" - /> + android:layout_gravity="center_horizontal" + android:layout_marginTop="@dimen/crypt_keeper_emergency_call_space_above" + style="?android:attr/borderlessButtonStyle" /> </LinearLayout> |