diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2017-02-07 13:11:17 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2017-02-09 10:16:22 -0800 |
commit | d5d5e22715c19c361d264693929c15c4325e80fa (patch) | |
tree | de664e7f61c2088de817483d57860a83a1f87228 /res/drawable | |
parent | db7b82960a54b85510aaeba2f543b37b4dc59fc8 (diff) | |
download | android_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/drawable')
-rw-r--r-- | res/drawable/quantum_panel_dark.xml | 22 | ||||
-rw-r--r-- | res/drawable/round_rect_primary.xml (renamed from res/drawable/quantum_panel_shape_dark.xml) | 5 | ||||
-rw-r--r-- | res/drawable/widgets_row_divider.xml | 19 |
3 files changed, 2 insertions, 44 deletions
diff --git a/res/drawable/quantum_panel_dark.xml b/res/drawable/quantum_panel_dark.xml deleted file mode 100644 index b113b376f..000000000 --- a/res/drawable/quantum_panel_dark.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<inset xmlns:android="http://schemas.android.com/apk/res/android" - android:drawable="@drawable/quantum_panel_shape_dark" - android:insetBottom="@dimen/quantum_panel_outer_padding" - android:insetLeft="@dimen/quantum_panel_outer_padding" - android:insetRight="@dimen/quantum_panel_outer_padding" - android:insetTop="@dimen/quantum_panel_outer_padding" /> diff --git a/res/drawable/quantum_panel_shape_dark.xml b/res/drawable/round_rect_primary.xml index b299eb804..2c47e0653 100644 --- a/res/drawable/quantum_panel_shape_dark.xml +++ b/res/drawable/round_rect_primary.xml @@ -16,7 +16,6 @@ --> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> - <solid android:color="?attr/colorSecondary" /> - <corners - android:radius="2dp" /> + <solid android:color="?android:attr/colorPrimary" /> + <corners android:radius="2dp" /> </shape> diff --git a/res/drawable/widgets_row_divider.xml b/res/drawable/widgets_row_divider.xml deleted file mode 100644 index 2c3c7a255..000000000 --- a/res/drawable/widgets_row_divider.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2015 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<shape xmlns:android="http://schemas.android.com/apk/res/android" > - <size android:width="@dimen/widget_row_divider" /> - <solid android:color="?attr/colorSecondary" /> -</shape> |