summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorKunhung Li <kunhungli@google.com>2019-05-27 18:28:58 +0800
committerKunhung Li <kunhungli@google.com>2019-05-29 11:53:17 +0800
commit2247316d60eacf0a89f4cb5b9b6650337e10c97c (patch)
tree7c506a088879268683e1fc36c2803cebf6476c6d /res/layout
parent7de69e1710bb7eca38c80e8d7b0056b77c38d855 (diff)
downloadandroid_packages_wallpapers_LivePicker-2247316d60eacf0a89f4cb5b9b6650337e10c97c.tar.gz
android_packages_wallpapers_LivePicker-2247316d60eacf0a89f4cb5b9b6650337e10c97c.tar.bz2
android_packages_wallpapers_LivePicker-2247316d60eacf0a89f4cb5b9b6650337e10c97c.zip
Support the dark mode in LivePicker
1.Change to apply AppCompat theme instead of material. 2.Change panel and button to support in dark theme. Bug: 133480634 Test: Manual test Change-Id: Ib036fbe49496c36f3ccecae99c857ad201f68084
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/page_info.xml4
-rw-r--r--res/layout/page_settings.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/res/layout/page_info.xml b/res/layout/page_info.xml
index f7baad0..f436bc9 100644
--- a/res/layout/page_info.xml
+++ b/res/layout/page_info.xml
@@ -71,7 +71,7 @@
android:layout_marginBottom="@dimen/preview_attribution_pane_button_bottom_margin"
android:orientation="horizontal">
- <com.google.android.material.button.MaterialButton
+ <Button
android:id="@+id/preview_attribution_pane_explore_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -86,7 +86,7 @@
android:layout_weight="1"
android:visibility="gone"/>
- <com.google.android.material.button.MaterialButton
+ <Button
android:id="@+id/preview_attribution_pane_set_wallpaper_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
diff --git a/res/layout/page_settings.xml b/res/layout/page_settings.xml
index d770af3..5142928 100644
--- a/res/layout/page_settings.xml
+++ b/res/layout/page_settings.xml
@@ -31,7 +31,7 @@
android:layout_height="0dp"
android:layout_weight="1"/>
- <com.google.android.material.button.MaterialButton
+ <Button
android:id="@+id/preview_attribution_pane_set_wallpaper_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"