diff options
author | Tony Wickham <twickham@google.com> | 2017-06-06 15:42:32 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2017-06-06 16:34:20 -0700 |
commit | 90038ebab21ce22eb2bdaf72b0dddfcaa81dcd4e (patch) | |
tree | 13fe4379cd80c8980bfb1485d49b837625c7211e /res/layout/system_shortcut.xml | |
parent | 561e53577b150d2f4a8d4c45931bd763f9fbd5ac (diff) | |
download | android_packages_apps_Trebuchet-90038ebab21ce22eb2bdaf72b0dddfcaa81dcd4e.tar.gz android_packages_apps_Trebuchet-90038ebab21ce22eb2bdaf72b0dddfcaa81dcd4e.tar.bz2 android_packages_apps_Trebuchet-90038ebab21ce22eb2bdaf72b0dddfcaa81dcd4e.zip |
Add support for popup dark theme
Bug: 62380473
Change-Id: Ib22e9b82841bf10b7f139638f268f0a878e3c6b9
Diffstat (limited to 'res/layout/system_shortcut.xml')
-rw-r--r-- | res/layout/system_shortcut.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/res/layout/system_shortcut.xml b/res/layout/system_shortcut.xml index 6f702f62b..04f3d027d 100644 --- a/res/layout/system_shortcut.xml +++ b/res/layout/system_shortcut.xml @@ -15,11 +15,11 @@ --> <com.android.launcher3.shortcuts.DeepShortcutView - android:theme="@style/IconWithTextSystemShortcut" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:launcher="http://schemas.android.com/apk/res-auto" android:layout_width="@dimen/bg_popup_item_width" - android:layout_height="@dimen/bg_popup_item_height" > + android:layout_height="@dimen/bg_popup_item_height" + android:theme="@style/PopupItem" > <com.android.launcher3.BubbleTextView style="@style/BaseIcon" @@ -41,7 +41,8 @@ android:layout_width="@dimen/system_shortcut_icon_size" android:layout_height="@dimen/system_shortcut_icon_size" android:layout_marginStart="@dimen/system_shortcut_margin_start" - android:layout_gravity="start|center_vertical" /> + android:layout_gravity="start|center_vertical" + android:backgroundTint="?android:attr/textColorTertiary"/> <View android:id="@+id/divider" @@ -49,6 +50,6 @@ android:layout_height="@dimen/popup_item_divider_height" android:layout_gravity="end|bottom" android:visibility="gone" - android:background="?android:attr/listDivider" /> + android:background="?attr/popupColorTertiary" /> </com.android.launcher3.shortcuts.DeepShortcutView> |