summaryrefslogtreecommitdiffstats
path: root/res/layout/appwidget_error.xml
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-02-07 13:11:17 -0800
committerSunny Goyal <sunnygoyal@google.com>2017-02-09 10:16:22 -0800
commitd5d5e22715c19c361d264693929c15c4325e80fa (patch)
treede664e7f61c2088de817483d57860a83a1f87228 /res/layout/appwidget_error.xml
parentdb7b82960a54b85510aaeba2f543b37b4dc59fc8 (diff)
downloadandroid_packages_apps_Trebuchet-d5d5e22715c19c361d264693929c15c4325e80fa.tar.gz
android_packages_apps_Trebuchet-d5d5e22715c19c361d264693929c15c4325e80fa.tar.bz2
android_packages_apps_Trebuchet-d5d5e22715c19c361d264693929c15c4325e80fa.zip
Updating widget tray theme
Using standard theme attributes rather than custom color codes, so that it plays nice with system theme changes. Bug: 34819119 Bug: 34897402 Bug: 21446746 Change-Id: I265fba3ceae8873650fd09e4704838d313155e83
Diffstat (limited to 'res/layout/appwidget_error.xml')
-rw-r--r--res/layout/appwidget_error.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/res/layout/appwidget_error.xml b/res/layout/appwidget_error.xml
index d6bd0c51c..6a459c3fb 100644
--- a/res/layout/appwidget_error.xml
+++ b/res/layout/appwidget_error.xml
@@ -19,9 +19,10 @@
android:layout_height="match_parent"
android:gravity="center"
android:elevation="2dp"
+ android:padding="4dp"
android:theme="@style/WidgetContainerTheme"
- android:background="@drawable/quantum_panel_dark"
+ android:background="@drawable/round_rect_primary"
android:textAppearance="?android:attr/textAppearanceMediumInverse"
- android:textColor="@color/widgets_view_item_text_color"
+ android:textColor="?android:attr/textColorSecondary"
android:text="@string/gadget_error_text"
/>