diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/quick_theme_fab.png | bin | 5088 -> 0 bytes | |||
-rw-r--r-- | res/drawable-mdpi/quick_theme_fab.png | bin | 3194 -> 0 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/quick_theme_fab.png | bin | 7197 -> 0 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/quick_theme_fab.png | bin | 11880 -> 0 bytes | |||
-rw-r--r-- | res/drawable/quick_theme_fab.xml | 35 | ||||
-rw-r--r-- | res/layout/per_app_fab_floating_window_icon.xml | 9 | ||||
-rw-r--r-- | res/values/colors.xml | 12 |
7 files changed, 48 insertions, 8 deletions
diff --git a/res/drawable-hdpi/quick_theme_fab.png b/res/drawable-hdpi/quick_theme_fab.png Binary files differdeleted file mode 100644 index 011b4c5..0000000 --- a/res/drawable-hdpi/quick_theme_fab.png +++ /dev/null diff --git a/res/drawable-mdpi/quick_theme_fab.png b/res/drawable-mdpi/quick_theme_fab.png Binary files differdeleted file mode 100644 index b8844bb..0000000 --- a/res/drawable-mdpi/quick_theme_fab.png +++ /dev/null diff --git a/res/drawable-xhdpi/quick_theme_fab.png b/res/drawable-xhdpi/quick_theme_fab.png Binary files differdeleted file mode 100644 index 53c762e..0000000 --- a/res/drawable-xhdpi/quick_theme_fab.png +++ /dev/null diff --git a/res/drawable-xxhdpi/quick_theme_fab.png b/res/drawable-xxhdpi/quick_theme_fab.png Binary files differdeleted file mode 100644 index 504528d..0000000 --- a/res/drawable-xxhdpi/quick_theme_fab.png +++ /dev/null diff --git a/res/drawable/quick_theme_fab.xml b/res/drawable/quick_theme_fab.xml new file mode 100644 index 0000000..762e014 --- /dev/null +++ b/res/drawable/quick_theme_fab.xml @@ -0,0 +1,35 @@ +<?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="222dp" + android:height="222dp" + android:viewportWidth="222" + android:viewportHeight="222"> + + <group> + <path + android:fillColor="@color/per_app_theme_fab_bg_color" + android:pathData="M111.5,6.5c58,0,105,47,105,105s-47,105-105,105s-105-47-105-105S53.5,6.5,111.5,6.5z" /> + <path + android:fillColor="@color/per_app_theme_fab_icon_color" + android:pathData="M111.5,134.5h-47c0,0,0-1.4,0-11s6.3-14,12-14s4,0,12,0s11-4.9,11-11c0-6.1-3-28.2-3-37s3.7-17,15-17 +s15,8.2,15,17s-3,30.9-3,37c0,6.1,3,11,11,11s6.3,0,12,0c5.7,0,12,4.4,12,14s0,11,0,11H111.5z +M111.5,54.5c-3.3,0-6,2.7-6,6 +c0,3.3,2.7,6,6,6c3.3,0,6-2.7,6-6C117.5,57.2,114.8,54.5,111.5,54.5z +M156.5,159.5c0,0-9.9-2-21-2c-11.1,0-42.4,4-53,4s-16-5-16-5 v-20h90V159.5z" /> + </group> +</vector>
\ No newline at end of file diff --git a/res/layout/per_app_fab_floating_window_icon.xml b/res/layout/per_app_fab_floating_window_icon.xml index b7e992f..8126269 100644 --- a/res/layout/per_app_fab_floating_window_icon.xml +++ b/res/layout/per_app_fab_floating_window_icon.xml @@ -5,11 +5,14 @@ <FrameLayout android:id="@+id/box" android:layout_height="match_parent" - android:layout_width="match_parent"> + android:layout_width="match_parent" + android:clipChildren="false" + android:elevation="10dp"> - <ImageView android:id="@+id/icon" + <View android:id="@+id/icon" android:layout_width="@dimen/floating_window_icon" android:layout_height="@dimen/floating_window_icon" - android:src="@drawable/quick_theme_fab" /> + android:background="@drawable/quick_theme_fab" + android:elevation="10dp"/> </FrameLayout> </FrameLayout>
\ No newline at end of file diff --git a/res/values/colors.xml b/res/values/colors.xml index 0a3c701..b043f91 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -55,11 +55,13 @@ <color name="processing_text_color">#ffffff</color> - <color name="per_app_theme_bg_color">#0fb6df</color> - <color name="per_app_theme_list_item_text_color">#fff</color> - <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_bg_color">#f5f5f5</color> + <color name="per_app_theme_list_item_text_color">#1f1f1f</color> + <color name="per_app_theme_list_item_applied_text_color">#00b1e5</color> + <color name="per_app_theme_remove_background_normal">#80000000</color> + <color name="per_app_theme_remove_background_hover">#80e53935</color> + <color name="per_app_theme_fab_bg_color">#00b1e5</color> + <color name="per_app_theme_fab_icon_color">#ffffff</color> <color name="per_app_theme_qs_icon_color">#ffffff</color> <color name="bottom_row_icon_color">#ffffff</color> |