summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRohit Yengisetty <rohit@cyngn.com>2015-02-05 18:18:13 -0800
committerRohit Yengisetty <rohit@cyngn.com>2015-02-05 18:18:13 -0800
commit5a56441c25541f8f1ff91814748a5bc21ec1cbc8 (patch)
tree530edc634753aac4190c11ac55afd7f87d6164c2
parent37381bd394be75eab38b108b06be39f0f6ca1093 (diff)
downloadandroid_frameworks_opt_datetimepicker-stable/cm-12.1-YOG3C.tar.gz
android_frameworks_opt_datetimepicker-stable/cm-12.1-YOG3C.tar.bz2
android_frameworks_opt_datetimepicker-stable/cm-12.1-YOG3C.zip
The text in the Done button gets clipped on the bottom when there isn't ample space to work with. Removing the padding introduced by the style. Not needed as min height is maintained by the button Change-Id: I871e8418e059dd034116ba2ceac37b97cc809a1b
-rw-r--r--res/layout/date_picker_done_button.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/layout/date_picker_done_button.xml b/res/layout/date_picker_done_button.xml
index ebe24d3..1ca8239 100644
--- a/res/layout/date_picker_done_button.xml
+++ b/res/layout/date_picker_done_button.xml
@@ -22,10 +22,12 @@
<Button
android:id="@+id/done"
style="?android:attr/buttonBarButtonStyle"
+ android:padding="0dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="48dp"
android:text="@string/done_label"
android:textSize="@dimen/done_label_size"
android:textColor="@color/done_text_color" />
+
</LinearLayout>