summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@cyanogenmod.org>2016-02-16 17:52:14 +0200
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-02-17 12:55:02 -0800
commit2fbbd8cea84a49bedba77a90b75b65fd72423689 (patch)
tree7245c733c5e6307e957880c7e1aab099091576a7
parent467196121cd51f298ef08aee1847d05270b46c81 (diff)
downloadandroid_packages_apps_Snap-2fbbd8cea84a49bedba77a90b75b65fd72423689.zip
android_packages_apps_Snap-2fbbd8cea84a49bedba77a90b75b65fd72423689.tar.gz
android_packages_apps_Snap-2fbbd8cea84a49bedba77a90b75b65fd72423689.tar.bz2
Snap: Cleanup flash icons
* Adapt some forgotten ones to material Change-Id: Ie50a7f58b78def8e1da2eae92ae458c729fd7ddb
-rw-r--r--res/drawable-hdpi/ic_settings_flash.pngbin12892 -> 0 bytes
-rw-r--r--res/drawable-mdpi/ic_settings_flash.pngbin6394 -> 0 bytes
-rw-r--r--res/drawable-xhdpi/ic_settings_flash.pngbin3501 -> 0 bytes
-rw-r--r--res/drawable/ic_settings_flash.xml13
-rw-r--r--res/xml/camera_preferences.xml2
-rw-r--r--res/xml/video_preferences.xml2
6 files changed, 15 insertions, 2 deletions
diff --git a/res/drawable-hdpi/ic_settings_flash.png b/res/drawable-hdpi/ic_settings_flash.png
deleted file mode 100644
index ce6f277..0000000
--- a/res/drawable-hdpi/ic_settings_flash.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-mdpi/ic_settings_flash.png b/res/drawable-mdpi/ic_settings_flash.png
deleted file mode 100644
index 8aa5712..0000000
--- a/res/drawable-mdpi/ic_settings_flash.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable-xhdpi/ic_settings_flash.png b/res/drawable-xhdpi/ic_settings_flash.png
deleted file mode 100644
index e2c63c7..0000000
--- a/res/drawable-xhdpi/ic_settings_flash.png
+++ /dev/null
Binary files differ
diff --git a/res/drawable/ic_settings_flash.xml b/res/drawable/ic_settings_flash.xml
new file mode 100644
index 0000000..e0ed36f
--- /dev/null
+++ b/res/drawable/ic_settings_flash.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+
+ <path
+ android:pathData="M0 0h24v24H0z" />
+ <path
+ android:fillColor="@color/white"
+ android:pathData="M7 2v11h3v9l7-12h-4l4-8z" />
+</vector>
diff --git a/res/xml/camera_preferences.xml b/res/xml/camera_preferences.xml
index 8711443..3f5df1e 100644
--- a/res/xml/camera_preferences.xml
+++ b/res/xml/camera_preferences.xml
@@ -26,7 +26,7 @@
camera:entries="@array/pref_camera_flashmode_entries"
camera:entryValues="@array/pref_camera_flashmode_entryvalues"
camera:labelList="@array/pref_camera_flashmode_labels"
- camera:singleIcon="@drawable/ic_flash_on" />
+ camera:singleIcon="@drawable/ic_settings_flash" />
<IconListPreference
camera:key="pref_camera_exposure_key"
camera:defaultValue="@string/pref_exposure_default"
diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml
index 564aced..69dbfb0 100644
--- a/res/xml/video_preferences.xml
+++ b/res/xml/video_preferences.xml
@@ -64,7 +64,7 @@
camera:title="@string/pref_camera_flashmode_title"
camera:icons="@array/video_flashmode_icons"
camera:largeIcons="@array/video_flashmode_largeicons"
- camera:singleIcon="@drawable/ic_flash_on"
+ camera:singleIcon="@drawable/ic_settings_flash"
camera:entries="@array/pref_camera_video_flashmode_entries"
camera:labelList="@array/pref_camera_video_flashmode_labels"
camera:entryValues="@array/pref_camera_video_flashmode_entryvalues"/>