diff options
author | Sam Blitzstein <sblitz@google.com> | 2013-09-05 17:53:26 -0700 |
---|---|---|
committer | Sam Blitzstein <sblitz@google.com> | 2013-09-05 19:37:41 -0700 |
commit | 1f129e23db2dc5837a856f7734b15a5a8be6be94 (patch) | |
tree | 952caee82ca0ae6814f045a489d24f4fffdce7a6 /res/layout-land/time_picker_dialog.xml | |
parent | a35f6b580aefd7bf1c7e92306e13dacd44316714 (diff) | |
download | datetimepicker-1f129e23db2dc5837a856f7734b15a5a8be6be94.tar.gz |
Add setDarkTheme() to TimePicker.android-4.4_r0.7
This is just a temporary solution for the clock app. When the pickers
are framework-ready they will use the correct system-level factory
methods for setting dark themes.
Bug: 10516092
Change-Id: I0574de6f79f0d2973a80ea91bcc885e207f2fcf8
Diffstat (limited to 'res/layout-land/time_picker_dialog.xml')
-rw-r--r-- | res/layout-land/time_picker_dialog.xml | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/res/layout-land/time_picker_dialog.xml b/res/layout-land/time_picker_dialog.xml index b24daf3..ed167af 100644 --- a/res/layout-land/time_picker_dialog.xml +++ b/res/layout-land/time_picker_dialog.xml @@ -29,6 +29,7 @@ android:layout_height="match_parent" android:orientation="vertical"> <FrameLayout + android:id="@+id/time_display_background" android:layout_width="match_parent" android:layout_height="0dip" android:layout_weight="1" @@ -40,25 +41,19 @@ android:layout_gravity="center" /> </FrameLayout> <View + android:id="@+id/line" android:layout_width="match_parent" android:layout_height="1dip" android:background="@color/line_background" /> - <LinearLayout - style="?android:attr/buttonBarStyle" + <Button + android:id="@+id/done_button" + android:background="@drawable/done_background_color" android:layout_width="match_parent" android:layout_height="wrap_content" - android:orientation="horizontal" - android:background="@color/white" > - <Button - android:id="@+id/done_button" - style="?android:attr/buttonBarButtonStyle" - 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> + android:minHeight="48dp" + android:text="@string/done_label" + android:textSize="@dimen/done_label_size" + android:textColor="@color/done_text_color" /> </LinearLayout> <com.android.datetimepicker.time.RadialPickerLayout android:id="@+id/time_picker" |