diff --git a/res/layout/crypt_keeper_password_entry.xml b/res/layout/crypt_keeper_password_entry.xml
index b26f5428b18..ecbfefd2b98 100644
--- a/res/layout/crypt_keeper_password_entry.xml
+++ b/res/layout/crypt_keeper_password_entry.xml
@@ -33,17 +33,16 @@
>
-
+ Text is set by CryptKeeper.updateEmergencyCallButtonState() -->
+ />
diff --git a/res/layout/crypt_keeper_password_field.xml b/res/layout/crypt_keeper_password_field.xml
index 97afe6a8600..9a2a24d0be2 100644
--- a/res/layout/crypt_keeper_password_field.xml
+++ b/res/layout/crypt_keeper_password_field.xml
@@ -28,6 +28,7 @@
android:inputType="textPassword"
android:imeOptions="flagForceAscii|actionDone"
android:textAppearance="?android:attr/textAppearanceMedium"
+ android:gravity="center_horizontal"
/>
diff --git a/res/layout/crypt_keeper_pin_entry.xml b/res/layout/crypt_keeper_pin_entry.xml
index dfc5fb5ffd1..0f1f1e74329 100644
--- a/res/layout/crypt_keeper_pin_entry.xml
+++ b/res/layout/crypt_keeper_pin_entry.xml
@@ -41,8 +41,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="16dip"
- style="@*android:style/Widget.Button.Transparent"
- android:textSize="14sp"
+ style="?android:attr/borderlessButtonStyle"
android:drawablePadding="6dip"
/>
diff --git a/res/layout/crypt_keeper_pin_field.xml b/res/layout/crypt_keeper_pin_field.xml
index 270b26b3a9f..dd9d233b66d 100644
--- a/res/layout/crypt_keeper_pin_field.xml
+++ b/res/layout/crypt_keeper_pin_field.xml
@@ -28,6 +28,7 @@
android:inputType="numberPassword"
android:imeOptions="flagForceAscii|actionDone"
android:textAppearance="?android:attr/textAppearanceMedium"
+ android:gravity="center_horizontal"
/>
@color/theme_accent
#fff4511e
+ @android:color/white
+ @color/theme_accent
+ #fff4511e
+
#ff263238
#ff21272b
diff --git a/res/values/styles.xml b/res/values/styles.xml
index cea615e4fdf..35e93017f52 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -221,7 +221,7 @@
- true
-
diff --git a/res/values/themes.xml b/res/values/themes.xml
index 0bf3c061d16..bbf0dc5754b 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -143,11 +143,11 @@
- @style/Theme.ActionBar
-