sdm660: Add Vector Icons to XiaomiParts
it looks dope icons from https://materialdesignicons.com
This commit is contained in:
parent
5987d829c6
commit
08784fd314
8 changed files with 72 additions and 7 deletions
8
XiaomiParts/res/drawable/ic_color.xml
Normal file
8
XiaomiParts/res/drawable/ic_color.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!-- drawable/palette.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="#000" android:pathData="M17.5,12A1.5,1.5 0 0,1 16,10.5A1.5,1.5 0 0,1 17.5,9A1.5,1.5 0 0,1 19,10.5A1.5,1.5 0 0,1 17.5,12M14.5,8A1.5,1.5 0 0,1 13,6.5A1.5,1.5 0 0,1 14.5,5A1.5,1.5 0 0,1 16,6.5A1.5,1.5 0 0,1 14.5,8M9.5,8A1.5,1.5 0 0,1 8,6.5A1.5,1.5 0 0,1 9.5,5A1.5,1.5 0 0,1 11,6.5A1.5,1.5 0 0,1 9.5,8M6.5,12A1.5,1.5 0 0,1 5,10.5A1.5,1.5 0 0,1 6.5,9A1.5,1.5 0 0,1 8,10.5A1.5,1.5 0 0,1 6.5,12M12,3A9,9 0 0,0 3,12A9,9 0 0,0 12,21A1.5,1.5 0 0,0 13.5,19.5C13.5,19.11 13.35,18.76 13.11,18.5C12.88,18.23 12.73,17.88 12.73,17.5A1.5,1.5 0 0,1 14.23,16H16A5,5 0 0,0 21,11C21,6.58 16.97,3 12,3Z" />
|
||||
</vector>
|
8
XiaomiParts/res/drawable/ic_dirac.xml
Normal file
8
XiaomiParts/res/drawable/ic_dirac.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!-- drawable/music_note_plus.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="#000" android:pathData="M17 9V12H14V14H17V17H19V14H22V12H19V9H17M9 3V13.55C8.41 13.21 7.73 13 7 13C4.79 13 3 14.79 3 17S4.79 21 7 21 11 19.21 11 17V7H15V3H9Z" />
|
||||
</vector>
|
8
XiaomiParts/res/drawable/ic_doze.xml
Normal file
8
XiaomiParts/res/drawable/ic_doze.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!-- drawable/cellphone_message.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="#000" android:pathData="M11,17V7H4V17H11M11,3A2,2 0 0,1 13,5V19A2,2 0 0,1 11,21H4C2.89,21 2,20.1 2,19V5A2,2 0 0,1 4,3H11M16.5,3H21.5A1.5,1.5 0 0,1 23,4.5V7.5A1.5,1.5 0 0,1 21.5,9H18L15,12V9L15,4.5A1.5,1.5 0 0,1 16.5,3Z" />
|
||||
</vector>
|
8
XiaomiParts/res/drawable/ic_flip.xml
Normal file
8
XiaomiParts/res/drawable/ic_flip.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!-- drawable/cellphone_key.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="#000" android:pathData="M7,1A2,2 0 0,0 5,3V7H7V4H17V20H7V17H5V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3A2,2 0 0,0 17,1H7M6,9A3,3 0 0,0 3,12A3,3 0 0,0 6,15C7.31,15 8.42,14.17 8.83,13H11V15H13V13H14V11H8.83C8.42,9.83 7.31,9 6,9M6,11A1,1 0 0,1 7,12A1,1 0 0,1 6,13A1,1 0 0,1 5,12A1,1 0 0,1 6,11Z" />
|
||||
</vector>
|
9
XiaomiParts/res/drawable/ic_headphones.xml
Normal file
9
XiaomiParts/res/drawable/ic_headphones.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!-- drawable/headphone-settings.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
<path android:fillColor="#000" android:pathData="M12,1A9,9 0 0,1 21,10V17A3,3 0 0,1 18,20H15V12H19V10A7,7 0 0,0 12,3A7,7 0 0,0 5,10V12H9V20H6A3,3 0 0,1 3,17V10A9,9 0 0,1 12,1M15,24V22H17V24H15M11,24V22H13V24H11M7,24V22H9V24H7Z" />
|
||||
</vector>
|
8
XiaomiParts/res/drawable/ic_performance.xml
Normal file
8
XiaomiParts/res/drawable/ic_performance.xml
Normal file
|
@ -0,0 +1,8 @@
|
|||
<!-- drawable/xbox_controller.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path android:fillColor="#000" android:pathData="M8.75,15.75C6.75,15.75 6,18 4,19C2,19 0.5,16 4.5,7.5H4.75L5.19,6.67C5.19,6.67 8,5 9.33,6.23H14.67C16,5 18.81,6.67 18.81,6.67L19.25,7.5H19.5C23.5,16 22,19 20,19C18,18 17.25,15.75 15.25,15.75H8.75M12,7A1,1 0 0,0 11,8A1,1 0 0,0 12,9A1,1 0 0,0 13,8A1,1 0 0,0 12,7Z" />
|
||||
</vector>
|
9
XiaomiParts/res/drawable/ic_preset.xml
Normal file
9
XiaomiParts/res/drawable/ic_preset.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!-- drawable/equalizer.xml -->
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24"
|
||||
android:tint="?android:attr/colorControlNormal">
|
||||
<path android:fillColor="#000" android:pathData="M10,20H14V4H10V20M4,20H8V12H4V20M16,9V20H20V9H16Z" />
|
||||
</vector>
|
|
@ -35,7 +35,8 @@
|
|||
<Preference
|
||||
android:key="device_kcal"
|
||||
android:persistent="false"
|
||||
android:title="@string/device_kcal_title">
|
||||
android:title="@string/device_kcal_title"
|
||||
android:icon="@drawable/ic_color">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetClass="org.lineageos.settings.kcal.KCalSettingsActivity"
|
||||
|
@ -46,7 +47,8 @@
|
|||
android:key="device_doze"
|
||||
android:persistent="false"
|
||||
android:summary="@string/advanced_doze_summary"
|
||||
android:title="@string/ambient_display_xiaomi">
|
||||
android:title="@string/ambient_display_xiaomi"
|
||||
android:icon="@drawable/ic_doze">
|
||||
<intent
|
||||
android:action="android.intent.action.MAIN"
|
||||
android:targetClass="org.lineageos.settings.doze.DozeSettingsActivity"
|
||||
|
@ -65,7 +67,8 @@
|
|||
android:entryValues="@array/spectrum_values"
|
||||
android:key="spectrum"
|
||||
android:summary="@string/spectrum_summary"
|
||||
android:title="@string/spectrum_title" />
|
||||
android:title="@string/spectrum_title"
|
||||
android:icon="@drawable/ic_performance" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
@ -76,7 +79,8 @@
|
|||
android:defaultValue="false"
|
||||
android:key="dirac_enabled"
|
||||
android:summary="@string/dirac_summary"
|
||||
android:title="@string/dirac_title" />
|
||||
android:title="@string/dirac_title"
|
||||
android:icon="@drawable/ic_dirac" />
|
||||
|
||||
<org.lineageos.settings.device.preferences.SecureSettingListPreference
|
||||
android:defaultValue="0"
|
||||
|
@ -85,7 +89,8 @@
|
|||
android:entryValues="@array/dirac_headset_pref_values"
|
||||
android:key="dirac_headset_pref"
|
||||
android:summary="%s"
|
||||
android:title="@string/dirac_headset_title" />
|
||||
android:title="@string/dirac_headset_title"
|
||||
android:icon="@drawable/ic_headphones" />
|
||||
|
||||
<org.lineageos.settings.device.preferences.SecureSettingListPreference
|
||||
android:defaultValue="0,0,0,0,0,0,0"
|
||||
|
@ -94,7 +99,8 @@
|
|||
android:entryValues="@array/dirac_preset_pref_values"
|
||||
android:key="dirac_preset_pref"
|
||||
android:summary="%s"
|
||||
android:title="@string/dirac_preset_title" />
|
||||
android:title="@string/dirac_preset_title"
|
||||
android:icon="@drawable/ic_preset" />
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
|
@ -105,6 +111,7 @@
|
|||
android:defaultValue="true"
|
||||
android:key="hall"
|
||||
android:summary="@string/hall_wakeup_summary"
|
||||
android:title="@string/hall_title" />
|
||||
android:title="@string/hall_title"
|
||||
android:icon="@drawable/ic_flip" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
|
Loading…
Reference in a new issue