diff options
19 files changed, 71 insertions, 15 deletions
diff --git a/res/drawable-hdpi/ic_quickthemes.png b/res/drawable-hdpi/ic_quickthemes.png Binary files differdeleted file mode 100644 index eaabb60..0000000 --- a/res/drawable-hdpi/ic_quickthemes.png +++ /dev/null diff --git a/res/drawable-hdpi/ic_quickthemes_qstile.png b/res/drawable-hdpi/ic_quickthemes_qstile.png Binary files differdeleted file mode 100644 index a5404d8..0000000 --- a/res/drawable-hdpi/ic_quickthemes_qstile.png +++ /dev/null diff --git a/res/drawable-mdpi/ic_quickthemes.png b/res/drawable-mdpi/ic_quickthemes.png Binary files differdeleted file mode 100644 index bfb3a64..0000000 --- a/res/drawable-mdpi/ic_quickthemes.png +++ /dev/null diff --git a/res/drawable-mdpi/ic_quickthemes_qstile.png b/res/drawable-mdpi/ic_quickthemes_qstile.png Binary files differdeleted file mode 100644 index c7297ce..0000000 --- a/res/drawable-mdpi/ic_quickthemes_qstile.png +++ /dev/null diff --git a/res/drawable-xhdpi/ic_quickthemes.png b/res/drawable-xhdpi/ic_quickthemes.png Binary files differdeleted file mode 100644 index bbb2441..0000000 --- a/res/drawable-xhdpi/ic_quickthemes.png +++ /dev/null diff --git a/res/drawable-xhdpi/ic_quickthemes_qstile.png b/res/drawable-xhdpi/ic_quickthemes_qstile.png Binary files differdeleted file mode 100644 index cf8dc52..0000000 --- a/res/drawable-xhdpi/ic_quickthemes_qstile.png +++ /dev/null diff --git a/res/drawable-xxhdpi/ic_quickthemes.png b/res/drawable-xxhdpi/ic_quickthemes.png Binary files differdeleted file mode 100644 index fdb1427..0000000 --- a/res/drawable-xxhdpi/ic_quickthemes.png +++ /dev/null diff --git a/res/drawable-xxhdpi/ic_quickthemes_qstile.png b/res/drawable-xxhdpi/ic_quickthemes_qstile.png Binary files differdeleted file mode 100644 index f44c87c..0000000 --- a/res/drawable-xxhdpi/ic_quickthemes_qstile.png +++ /dev/null diff --git a/res/drawable/ic_appthemer.xml b/res/drawable/ic_appthemer.xml new file mode 100644 index 0000000..f75cb8e --- /dev/null +++ b/res/drawable/ic_appthemer.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2015 Cyanogen, Inc. + + 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="48dp" + android:height="48dp" + android:viewportWidth="48" + android:viewportHeight="48"> + + <path + android:fillColor="@color/bottom_row_icon_color" + android:pathData="M24,48C10.7,48,0,37.3,0,24S10.7,0,24,0s24,10.7,24,24S37.3,48,24,48z +M12,37.1c0,0,1,1.9,4,1.9s7.9-2,11-2 c2,0,3.9,1,6,1s3-1,3-1v-5H12V37.1z +M37,27c0-2.7-2.4-4-4-4c-1.6,0,0.3,0-2,0s-3.7-0.7-3.7-2.4c0-1.7,1.7-8.1,1.7-10.6s-1.9-5-5-5 +s-5,2.5-5,5s1.7,8.8,1.7,10.6c0,1.7-1.4,2.4-3.7,2.4s-0.4,0-2,0s-4,1.3-4,4s0,3,0,3h26C37,30,37,29.7,37,27z +M24,7.7 +c1.2,0,2.2,1,2.2,2.2c0,1.3-0.9,2.2-2.2,2.2s-2.2-1-2.2-2.2C21.8,8.7,22.8,7.7,24,7.7z" /> +</vector>
\ No newline at end of file diff --git a/res/drawable/ic_qs_appthemer.xml b/res/drawable/ic_qs_appthemer.xml new file mode 100644 index 0000000..5e2729c --- /dev/null +++ b/res/drawable/ic_qs_appthemer.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (c) 2015 Cyanogen, Inc. + + 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="48dp" + android:height="48dp" + android:viewportWidth="48" + android:viewportHeight="48"> + + <path + android:fillColor="@color/per_app_theme_qs_icon_color" + android:pathData="M5.5,35.5c0,0,0-0.7,0-4.3s2.8-5.7,5-5.7c2.2,0,0.9,0,4,0c3.1,0,4.4-1.4,4.4-3.7c0-2.3-1.4-11-1.4-14.3 +s1.7-6,6-6s6,2.7,6,6s-1.4,12-1.4,14.3c0,2.3,1.3,3.7,4.4,3.7s1.8,0,4,0s5,2.1,5,5.7s0,4.3,0,4.3H5.5z +M23.5,4.5c-1.7,0-3,1.3-3,3 s1.3,3,3,3s3-1.3,3-3S25.2,4.5,23.5,4.5z +M40.5,44.5c0,0-5.7-1-10-1c-4.3,0-13.9,2-18,2s-6-2-6-2v-6h34V44.5z" /> +</vector>
\ No newline at end of file diff --git a/res/drawable/ic_themestore.xml b/res/drawable/ic_themestore.xml index 1626ef8..ab48486 100644 --- a/res/drawable/ic_themestore.xml +++ b/res/drawable/ic_themestore.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - Copyright (c) 2015 The CyanogenMod Project + Copyright (c) 2015 Cyanogen, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -21,15 +21,10 @@ android:viewportHeight="48"> <path - android:fillColor="#FFFFFF" - android:pathData="M42.8,12.5v28c0,0.9,0.5,5-19,5c-19,0-19-3.4-19-4v-29c-2.6-1.6-3.9-2.9-4-3l2-3h2 -v-2c0.2-0.1,2.9-2,19-2c15.6,0,19,2,19,2v2h2l2,3C46.6,9.6,45.4,10.9,42.8,12.5z -M6.8,40.5c0,0.5-0.1,2.3,17,2.3 -c17.4,0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,3,3h20 +c1.6,0,3-1.4,3-3V20h1V14z" /> </vector>
\ No newline at end of file diff --git a/res/layout/bottom_actions.xml b/res/layout/bottom_actions.xml index 0b6c3ed..eea6d7a 100644 --- a/res/layout/bottom_actions.xml +++ b/res/layout/bottom_actions.xml @@ -30,7 +30,7 @@ android:layout_height="30dp" android:layout_gravity="top|center_horizontal" android:layout_margin="8dp" - android:src="@drawable/ic_quickthemes"/> + android:src="@drawable/ic_appthemer"/> <ImageView android:id="@+id/new_tag" android:layout_width="wrap_content" diff --git a/res/mipmap-hdpi/ic_app_themes.png b/res/mipmap-hdpi/ic_app_themes.png Binary files differindex 4dcbd89..aa08c8b 100644 --- a/res/mipmap-hdpi/ic_app_themes.png +++ b/res/mipmap-hdpi/ic_app_themes.png diff --git a/res/mipmap-mdpi/ic_app_themes.png b/res/mipmap-mdpi/ic_app_themes.png Binary files differindex b98d6b9..32f7456 100644 --- a/res/mipmap-mdpi/ic_app_themes.png +++ b/res/mipmap-mdpi/ic_app_themes.png diff --git a/res/mipmap-xhdpi/ic_app_themes.png b/res/mipmap-xhdpi/ic_app_themes.png Binary files differindex bf5ea54..b629a6a 100644 --- a/res/mipmap-xhdpi/ic_app_themes.png +++ b/res/mipmap-xhdpi/ic_app_themes.png diff --git a/res/mipmap-xxhdpi/ic_app_themes.png b/res/mipmap-xxhdpi/ic_app_themes.png Binary files differindex 6d59900..974eb6f 100644 --- a/res/mipmap-xxhdpi/ic_app_themes.png +++ b/res/mipmap-xxhdpi/ic_app_themes.png diff --git a/res/mipmap-xxxhdpi/ic_app_themes.png b/res/mipmap-xxxhdpi/ic_app_themes.png Binary files differindex 21576a9..639764d 100644 --- a/res/mipmap-xxxhdpi/ic_app_themes.png +++ b/res/mipmap-xxxhdpi/ic_app_themes.png diff --git a/res/values/colors.xml b/res/values/colors.xml index 854d5ed..0a3c701 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -60,6 +60,9 @@ <color name="per_app_theme_list_item_applied_text_color">#80ffffff</color> <color name="per_app_theme_remove_background_normal">#0fb6df</color> <color name="per_app_theme_remove_background_hover">#4fdcff</color> + <color name="per_app_theme_qs_icon_color">#ffffff</color> + + <color name="bottom_row_icon_color">#ffffff</color> <color name="edge_effect_color">#ffffff</color> diff --git a/src/com/cyngn/theme/util/NotificationHelper.java b/src/com/cyngn/theme/util/NotificationHelper.java index d6474be..3ae68d7 100644 --- a/src/com/cyngn/theme/util/NotificationHelper.java +++ b/src/com/cyngn/theme/util/NotificationHelper.java @@ -66,8 +66,6 @@ public class NotificationHelper { .setContentText(content) .setContentIntent(pi) .setSmallIcon(R.drawable.ic_notify) - .setLargeIcon(BitmapFactory.decodeResource(context.getResources(), - R.mipmap.ic_app_themes)) .setWhen(System.currentTimeMillis()) .build(); if (themeCount > 1) notice.number = themeCount; |