summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@cyanogenmod.org>2016-02-16 17:52:14 +0200
committerMichael Bestas <mikeioannina@gmail.com>2017-01-04 21:57:47 +0200
commit21988e9bc1e1ccfc44d83f18f5fdce818495f347 (patch)
tree048bf4b17f10f05029b24c188b3380b7c872b24b
parent3d8cfc56712f2572ffa8a852b8a4a480e4edc500 (diff)
downloadandroid_packages_apps_Snap-21988e9bc1e1ccfc44d83f18f5fdce818495f347.tar.gz
android_packages_apps_Snap-21988e9bc1e1ccfc44d83f18f5fdce818495f347.tar.bz2
android_packages_apps_Snap-21988e9bc1e1ccfc44d83f18f5fdce818495f347.zip
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 ce6f2771d..000000000
--- 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 8aa57123d..000000000
--- 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 e2c63c7ca..000000000
--- 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 000000000..e0ed36f3e
--- /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 857bbac11..d8f136635 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 47a6effa8..3358d3d55 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"/>