diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2016-05-27 10:37:38 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2016-06-03 11:21:47 -0700 |
commit | e7d7304fcbb5e5dcb2ac7798c1d246f951b05029 (patch) | |
tree | be645c2fe862c649600f5de7eccfe12ae2a617ff /res/drawable | |
parent | ff4ba2d99593ed84963b3f71c555b529dd905835 (diff) | |
download | android_packages_apps_Trebuchet-e7d7304fcbb5e5dcb2ac7798c1d246f951b05029.tar.gz android_packages_apps_Trebuchet-e7d7304fcbb5e5dcb2ac7798c1d246f951b05029.tar.bz2 android_packages_apps_Trebuchet-e7d7304fcbb5e5dcb2ac7798c1d246f951b05029.zip |
Replacing overview panel icons with vector drawables
Change-Id: I3ca6662a75ba8b07e817a7a5681ede79d305c41a
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/all_apps_search_market_bg.xml | 20 | ||||
-rw-r--r-- | res/drawable/ic_setting.xml | 24 | ||||
-rw-r--r-- | res/drawable/ic_setting_pressed.xml | 19 | ||||
-rw-r--r-- | res/drawable/ic_wallpaper.xml | 24 | ||||
-rw-r--r-- | res/drawable/ic_wallpaper_pressed.xml | 19 | ||||
-rw-r--r-- | res/drawable/ic_widget.xml | 24 | ||||
-rw-r--r-- | res/drawable/ic_widget_pressed.xml | 19 | ||||
-rw-r--r-- | res/drawable/setting_button.xml | 21 | ||||
-rw-r--r-- | res/drawable/wallpaper_button.xml | 21 | ||||
-rw-r--r-- | res/drawable/widget_button.xml | 21 |
10 files changed, 72 insertions, 140 deletions
diff --git a/res/drawable/all_apps_search_market_bg.xml b/res/drawable/all_apps_search_market_bg.xml deleted file mode 100644 index 5278e00a6..000000000 --- a/res/drawable/all_apps_search_market_bg.xml +++ /dev/null @@ -1,20 +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. ---> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_focused="true" android:drawable="@color/all_apps_search_market_button_focused_bg_color" /> - <item android:state_pressed="true" android:drawable="@color/all_apps_search_market_button_focused_bg_color" /> - <item android:drawable="@android:color/transparent" /> -</selector> diff --git a/res/drawable/ic_setting.xml b/res/drawable/ic_setting.xml new file mode 100644 index 000000000..256d24ca7 --- /dev/null +++ b/res/drawable/ic_setting.xml @@ -0,0 +1,24 @@ +<!-- +Copyright (C) 2016 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="48dp" + android:height="48dp" + android:viewportWidth="48.0" + android:viewportHeight="48.0"> + <path + android:fillColor="#FFFFFFFF" + android:pathData="M38.86 25.95c.08-.64.14-1.29.14-1.95s-.06-1.31-.14-1.95l4.23-3.31c.38-.3.49-.84.24-1.28l-4-6.93c-.25-.43-.77-.61-1.22-.43l-4.98 2.01c-1.03-.79-2.16-1.46-3.38-1.97L29 4.84c-.09-.47-.5-.84-1-.84h-8c-.5 0-.91.37-.99.84l-.75 5.3c-1.22.51-2.35 1.17-3.38 1.97L9.9 10.1c-.45-.17-.97 0-1.22.43l-4 6.93c-.25.43-.14.97.24 1.28l4.22 3.31C9.06 22.69 9 23.34 9 24s.06 1.31.14 1.95l-4.22 3.31c-.38.3-.49.84-.24 1.28l4 6.93c.25.43.77.61 1.22.43l4.98-2.01c1.03.79 2.16 1.46 3.38 1.97l.75 5.3c.08.47.49.84.99.84h8c.5 0 .91-.37.99-.84l.75-5.3c1.22-.51 2.35-1.17 3.38-1.97l4.98 2.01c.45.17.97 0 1.22-.43l4-6.93c.25-.43.14-.97-.24-1.28l-4.22-3.31zM24 31c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"/> +</vector> diff --git a/res/drawable/ic_setting_pressed.xml b/res/drawable/ic_setting_pressed.xml deleted file mode 100644 index 689f833ce..000000000 --- a/res/drawable/ic_setting_pressed.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Copyright 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. ---> -<bitmap xmlns:android="http://schemas.android.com/apk/res/android" - android:alpha="0.5" - android:src="@drawable/ic_setting" /> diff --git a/res/drawable/ic_wallpaper.xml b/res/drawable/ic_wallpaper.xml new file mode 100644 index 000000000..7af4b2afc --- /dev/null +++ b/res/drawable/ic_wallpaper.xml @@ -0,0 +1,24 @@ +<!-- +Copyright (C) 2016 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="48dp" + android:height="48dp" + android:viewportWidth="48.0" + android:viewportHeight="48.0"> + <path + android:fillColor="#FFFFFFFF" + android:pathData="M8 8h14V4H8C5.79 4 4 5.79 4 8v14h4V8zm12 18l-8 10h24l-6-8-4.06 5.42L20 26zm14-9c0-1.66-1.34-3-3-3s-3 1.34-3 3 1.34 3 3 3 3-1.34 3-3zm6-13H26v4h14v14h4V8c0-2.21-1.79-4-4-4zm0 36H26v4h14c2.21 0 4-1.79 4-4V26h-4v14zM8 26H4v14c0 2.21 1.79 4 4 4h14v-4H8V26z"/> +</vector> diff --git a/res/drawable/ic_wallpaper_pressed.xml b/res/drawable/ic_wallpaper_pressed.xml deleted file mode 100644 index d241c7d76..000000000 --- a/res/drawable/ic_wallpaper_pressed.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Copyright 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. ---> -<bitmap xmlns:android="http://schemas.android.com/apk/res/android" - android:alpha="0.5" - android:src="@drawable/ic_wallpaper" /> diff --git a/res/drawable/ic_widget.xml b/res/drawable/ic_widget.xml new file mode 100644 index 000000000..3e7bd7b51 --- /dev/null +++ b/res/drawable/ic_widget.xml @@ -0,0 +1,24 @@ +<!-- +Copyright (C) 2016 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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="48dp" + android:height="48dp" + android:viewportWidth="48.0" + android:viewportHeight="48.0"> + <path + android:fillColor="#FFFFFFFF" + android:pathData="M26 26v16h16V26H26zM6 42h16V26H6v16zM6 6v16h16V6H6zm27.31-2.63L22 14.69 33.31 26l11.31-11.31L33.31 3.37z"/> +</vector> diff --git a/res/drawable/ic_widget_pressed.xml b/res/drawable/ic_widget_pressed.xml deleted file mode 100644 index 44ac5b6e4..000000000 --- a/res/drawable/ic_widget_pressed.xml +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - Copyright 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. ---> -<bitmap xmlns:android="http://schemas.android.com/apk/res/android" - android:alpha="0.5" - android:src="@drawable/ic_widget" /> diff --git a/res/drawable/setting_button.xml b/res/drawable/setting_button.xml deleted file mode 100644 index 4d66a1ac7..000000000 --- a/res/drawable/setting_button.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2013 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. ---> - -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_focused="true" android:drawable="@drawable/ic_setting_pressed" /> - <item android:state_pressed="true" android:drawable="@drawable/ic_setting_pressed" /> - <item android:drawable="@drawable/ic_setting" /> -</selector> diff --git a/res/drawable/wallpaper_button.xml b/res/drawable/wallpaper_button.xml deleted file mode 100644 index 72da99d05..000000000 --- a/res/drawable/wallpaper_button.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2013 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. ---> - -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_focused="true" android:drawable="@drawable/ic_wallpaper_pressed" /> - <item android:state_pressed="true" android:drawable="@drawable/ic_wallpaper_pressed" /> - <item android:drawable="@drawable/ic_wallpaper" /> -</selector> diff --git a/res/drawable/widget_button.xml b/res/drawable/widget_button.xml deleted file mode 100644 index 6936c87a0..000000000 --- a/res/drawable/widget_button.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 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. ---> - -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_focused="true" android:drawable="@drawable/ic_widget_pressed" /> - <item android:state_pressed="true" android:drawable="@drawable/ic_widget_pressed" /> - <item android:drawable="@drawable/ic_widget" /> -</selector> |