summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWang Han <416810799@qq.com>2018-11-14 16:18:07 +0800
committerMichael Bestas <mkbestas@lineageos.org>2019-11-09 22:47:37 +0200
commit8cce5c2055e0b09f5fa0a386aa892c0f999b2c3d (patch)
tree579eb169e79f6a556ca69ec4b6e43fce44b1dac4
parent7509a263ab2cdb5804af90309a9045b71a9beb2a (diff)
downloadandroid_packages_apps_Snap-8cce5c2055e0b09f5fa0a386aa892c0f999b2c3d.zip
android_packages_apps_Snap-8cce5c2055e0b09f5fa0a386aa892c0f999b2c3d.tar.gz
android_packages_apps_Snap-8cce5c2055e0b09f5fa0a386aa892c0f999b2c3d.tar.bz2
Snap: Create correct redeye reduction config icon
* Create another one with black color Change-Id: I971496bd9f5e3cf5c8f88ad66a4213ff19bcb312
-rw-r--r--res/drawable/ic_settings_redeye_preference.xml11
-rwxr-xr-xres/xml/setting_menu_preferences.xml2
2 files changed, 12 insertions, 1 deletions
diff --git a/res/drawable/ic_settings_redeye_preference.xml b/res/drawable/ic_settings_redeye_preference.xml
new file mode 100644
index 0000000..9f5aed6
--- /dev/null
+++ b/res/drawable/ic_settings_redeye_preference.xml
@@ -0,0 +1,11 @@
+<?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:fillColor="@color/black"
+ android:pathData="M16,5C15.44,5 15,5.44 15,6C15,6.56 15.44,7 16,7C16.56,7 17,6.56 17,6C17,5.44 16.56,5 16,5M16,2C13.27,2 10.94,3.66 10,6C10.94,8.34 13.27,10 16,10C18.73,10 21.06,8.34 22,6C21.06,3.66 18.73,2 16,2M16,3.5A2.5,2.5 0 0,1 18.5,6A2.5,2.5 0 0,1 16,8.5A2.5,2.5 0 0,1 13.5,6A2.5,2.5 0 0,1 16,3.5M3,2V14H6V23L13,11H9L10.12,8.5C9.44,7.76 8.88,6.93 8.5,6C9.19,4.29 10.5,2.88 12.11,2H3Z" />
+</vector>
diff --git a/res/xml/setting_menu_preferences.xml b/res/xml/setting_menu_preferences.xml
index c8b271b..db46c38 100755
--- a/res/xml/setting_menu_preferences.xml
+++ b/res/xml/setting_menu_preferences.xml
@@ -102,7 +102,7 @@
<SwitchPreference
android:defaultValue="false"
- android:icon="@drawable/ic_settings_redeye"
+ android:icon="@drawable/ic_settings_redeye_preference"
android:key="pref_camera2_redeyereduction_key"
android:layout="@layout/preference"
android:title="@string/pref_camera_redeyereduction_title" />