Cherish: POSP Vol panel styles
Change-Id: Ibeb558ffe1141088110d41f6767782ea37197042 Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -677,4 +677,21 @@
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Volume Panel -->
|
||||
<string-array name="volume_panel_entries">
|
||||
<item>@string/volume_panel_stock</item>
|
||||
<item>@string/volume_panel_aosp</item>
|
||||
<item>@string/volume_panel_compact</item>
|
||||
<item>@string/volume_panel_oreo</item>
|
||||
<item>@string/volume_panel_tiled</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="volume_panel_values" translatable="false">
|
||||
<item>@string/volume_panel_stock_val</item>
|
||||
<item>@string/volume_panel_aosp_val</item>
|
||||
<item>@string/volume_panel_compact_val</item>
|
||||
<item>@string/volume_panel_oreo_val</item>
|
||||
<item>@string/volume_panel_tiled_val</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -735,4 +735,19 @@
|
||||
<string name="click_partial_screenshot_title">Click to partial screenshot</string>
|
||||
<string name="click_partial_screenshot_summary">Short click Volume Down and Power to take partial screenshot</string>
|
||||
|
||||
<!-- Volume Panel Plugin -->
|
||||
<string name="volume_panel">Volume Panel Style</string>
|
||||
<string name="volume_panel_stock">Stock</string>
|
||||
<string name="volume_panel_aosp">AOSP</string>
|
||||
<string name="volume_panel_compact">Compact</string>
|
||||
<string name="volume_panel_oreo">Oreo</string>
|
||||
<string name="volume_panel_tiled">Tiled</string>
|
||||
|
||||
<!-- Volume Panel Plugin Values -->
|
||||
<string name="volume_panel_stock_val">com.android.systemui.volume</string>
|
||||
<string name="volume_panel_aosp_val">co.potatoproject.plugin.volume.aosp</string>
|
||||
<string name="volume_panel_compact_val">co.potatoproject.plugin.volume.compact</string>
|
||||
<string name="volume_panel_oreo_val">co.potatoproject.plugin.volume.oreo</string>
|
||||
<string name="volume_panel_tiled_val">co.potatoproject.plugin.volume.tiled</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -48,4 +48,18 @@
|
||||
android:entryValues="@array/theme_type_values"
|
||||
android:defaultValue="1"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="volume_panel_stuff"
|
||||
android:title="@string/volume_panel">
|
||||
|
||||
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||
android:key="systemui_plugin_volume"
|
||||
android:title="@string/volume_panel"
|
||||
android:icon="@drawable/ic_volume"
|
||||
android:entries="@array/volume_panel_entries"
|
||||
android:entryValues="@array/volume_panel_values"
|
||||
android:defaultValue="@string/volume_panel_stock_val" />
|
||||
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Reference in New Issue
Block a user