Cherish: Add Oneplus3Parts to main menu
This commit is contained in:
9
res/drawable/ic_settings_device.xml
Normal file
9
res/drawable/ic_settings_device.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="?android:attr/colorControlNormal"
|
||||
android:pathData="M8,11.5c0,-0.83 -0.67,-1.5 -1.5,-1.5S5,10.67 5,11.5 5.67,13 6.5,13 8,12.33 8,11.5zM15,6.5c0,-0.83 -0.67,-1.5 -1.5,-1.5h-3C9.67,5 9,5.67 9,6.5S9.67,8 10.5,8h3c0.83,0 1.5,-0.67 1.5,-1.5zM8.5,15c-0.83,0 -1.5,0.67 -1.5,1.5S7.67,18 8.5,18s1.5,-0.67 1.5,-1.5S9.33,15 8.5,15zM12,1C5.93,1 1,5.93 1,12s4.93,11 11,11 11,-4.93 11,-11S18.07,1 12,1zM12,21c-4.96,0 -9,-4.04 -9,-9s4.04,-9 9,-9 9,4.04 9,9 -4.04,9 -9,9zM17.5,10c-0.83,0 -1.5,0.67 -1.5,1.5s0.67,1.5 1.5,1.5 1.5,-0.67 1.5,-1.5 -0.67,-1.5 -1.5,-1.5zM15.5,15c-0.83,0 -1.5,0.67 -1.5,1.5s0.67,1.5 1.5,1.5 1.5,-0.67 1.5,-1.5 -0.67,-1.5 -1.5,-1.5z"/>
|
||||
</vector>
|
||||
@@ -27,6 +27,7 @@
|
||||
<string name="statusbar_title">Строка состояния</string>
|
||||
<string name="volume_title">Кнопки громкости</string>
|
||||
<string name="notifications_title">Уведомления</string>
|
||||
<string name="device_part_title">Настройки устройства</string>
|
||||
|
||||
<!-- General strings -->
|
||||
<string name="ok">Ок</string>
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
<string name="statusbar_title">Status bar</string>
|
||||
<string name="volume_title">Volume rockers</string>
|
||||
<string name="notifications_title">Notifications</string>
|
||||
<string name="device_part_title">Device features</string>
|
||||
|
||||
<!-- General strings -->
|
||||
<string name="ok">OK</string>
|
||||
|
||||
@@ -79,4 +79,14 @@
|
||||
android:fragment="com.cherish.settings.fragments.MiscSettings"
|
||||
android:icon="@drawable/ic_settings_miscs"/>
|
||||
|
||||
<!-- Device Part -->
|
||||
<Preference
|
||||
android:key="device_part"
|
||||
android:persistent="false"
|
||||
android:title="@string/device_part_title"
|
||||
android:icon="@drawable/ic_settings_device">
|
||||
<intent android:action="android.intent.action.MAIN"
|
||||
android:targetPackage="org.omnirom.device"
|
||||
android:targetClass="org.omnirom.device.DeviceSettings"/>
|
||||
</Preference>
|
||||
</PreferenceScreen>
|
||||
|
||||
Reference in New Issue
Block a user