aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res/layout/dialog_clear_history.xml
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-09-18 20:09:39 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-09-18 20:09:39 +0200
commit6b904d4de1ab755277212d574bee618d7296cd2d (patch)
treee6097d19f260fa35d76277d6748720c4c3cb0d7c /src/main/res/layout/dialog_clear_history.xml
parent7bdd4166c02a88b1e5249056fabcf0e1833ab555 (diff)
use proper paddings in dialogs on android < 5
Diffstat (limited to 'src/main/res/layout/dialog_clear_history.xml')
-rw-r--r--src/main/res/layout/dialog_clear_history.xml7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/res/layout/dialog_clear_history.xml b/src/main/res/layout/dialog_clear_history.xml
index 252808c8..d130b710 100644
--- a/src/main/res/layout/dialog_clear_history.xml
+++ b/src/main/res/layout/dialog_clear_history.xml
@@ -3,11 +3,15 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:padding="8dp" >
+ android:paddingLeft="?attr/dialog_horizontal_padding"
+ android:paddingRight="?attr/dialog_horizontal_padding"
+ android:paddingBottom="?attr/dialog_vertical_padding"
+ android:paddingTop="?attr/dialog_vertical_padding">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:textColor="?attr/color_text_primary"
android:paddingBottom="8dp"
android:text="@string/clear_histor_msg"
android:textSize="?attr/TextSizeBody" />
@@ -15,6 +19,7 @@
<CheckBox
android:id="@+id/end_conversation_checkbox"
android:layout_width="wrap_content"
+ android:textColor="?attr/color_text_primary"
android:layout_height="wrap_content"
android:text="@string/also_end_conversation" />