diff options
author | Rohit Yengisetty <rohit@cyngn.com> | 2015-02-05 18:18:13 -0800 |
---|---|---|
committer | Rohit Yengisetty <rohit@cyngn.com> | 2015-02-05 18:18:13 -0800 |
commit | 5a56441c25541f8f1ff91814748a5bc21ec1cbc8 (patch) | |
tree | 530edc634753aac4190c11ac55afd7f87d6164c2 | |
parent | 37381bd394be75eab38b108b06be39f0f6ca1093 (diff) | |
download | android_frameworks_opt_datetimepicker-cm-12.1.tar.gz android_frameworks_opt_datetimepicker-cm-12.1.tar.bz2 android_frameworks_opt_datetimepicker-cm-12.1.zip |
Datetimepicker : Fix 'Done' text clipping in DatePickerDialogstaging/cm-12.1stable/cm-12.1-YOG7Dstable/cm-12.1-YOG4Pstable/cm-12.1-YOG3Cstable/cm-12.0-YNG4Nstable/cm-12.0-YNG3Cstable/cm-12.0-YNG1TAstable/cm-12.0-YNG1Tstable/cm-12.0-YNG1Icm-12.1cm-12.0
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.xml | 2 |
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> |