diff --git a/res/layout/crypt_keeper_password_entry.xml b/res/layout/crypt_keeper_password_entry.xml
index ecbfefd2b98..6e99527712e 100644
--- a/res/layout/crypt_keeper_password_entry.xml
+++ b/res/layout/crypt_keeper_password_entry.xml
@@ -1,7 +1,7 @@
+ android:layout_gravity="center_horizontal"
+ android:layout_marginTop="@dimen/crypt_keeper_emergency_call_space_above"
+ style="?android:attr/borderlessButtonStyle" />
diff --git a/res/layout/crypt_keeper_password_field.xml b/res/layout/crypt_keeper_password_field.xml
index 9a2a24d0be2..2d98b25845f 100644
--- a/res/layout/crypt_keeper_password_field.xml
+++ b/res/layout/crypt_keeper_password_field.xml
@@ -1,7 +1,7 @@
+
+ style="@style/TextAppearance.CryptKeeper_PasswordEntry" />
+ android:visibility="gone" />
+
diff --git a/res/layout/crypt_keeper_pattern_entry.xml b/res/layout/crypt_keeper_pattern_entry.xml
index 2538809b8b7..80e318f5c37 100644
--- a/res/layout/crypt_keeper_pattern_entry.xml
+++ b/res/layout/crypt_keeper_pattern_entry.xml
@@ -20,18 +20,26 @@
+ android:orientation="vertical">
+
-
+ android:layout_weight="1"
+ android:orientation="vertical"
+ android:gravity="center_vertical">
+
+
+
+
+
+
+ android:background="@color/lock_pattern_background" />
+ android:visibility="gone" />
+
diff --git a/res/layout/crypt_keeper_pin_entry.xml b/res/layout/crypt_keeper_pin_entry.xml
index 0f1f1e74329..0bcbec58c80 100644
--- a/res/layout/crypt_keeper_pin_entry.xml
+++ b/res/layout/crypt_keeper_pin_entry.xml
@@ -20,29 +20,36 @@
+ android:orientation="vertical">
+
-
+ 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">
+
+
+
+
+
+ Text is set by CryptKeeper.updateEmergencyCallButtonState() -->
+ android:layout_gravity="center_horizontal"
+ android:layout_marginTop="@dimen/crypt_keeper_emergency_call_space_above"
+ style="?android:attr/borderlessButtonStyle" />
diff --git a/res/layout/crypt_keeper_pin_field.xml b/res/layout/crypt_keeper_pin_field.xml
index dd9d233b66d..2fc1e818972 100644
--- a/res/layout/crypt_keeper_pin_field.xml
+++ b/res/layout/crypt_keeper_pin_field.xml
@@ -20,16 +20,13 @@
+
+ style="@style/TextAppearance.CryptKeeper_PasswordEntry" />
+ android:visibility="gone" />
+
diff --git a/res/layout/crypt_keeper_status.xml b/res/layout/crypt_keeper_status.xml
index 9015613fa01..72f7aecc8be 100644
--- a/res/layout/crypt_keeper_status.xml
+++ b/res/layout/crypt_keeper_status.xml
@@ -1,7 +1,7 @@
+ 16dip
+
+
+ 16dip
+
+
+ 8dip
+
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 32a205d1c38..1923ce6065a 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -82,6 +82,15 @@
- ?android:attr/textColorPrimary
+
+
diff --git a/res/values/themes.xml b/res/values/themes.xml
index 44b83b16af6..54b5d4137b0 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -150,6 +150,10 @@