Cherish: Add quick settings pull down with one finger [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -12,4 +12,19 @@
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Quick QS pulldown -->
|
||||
<string-array name="quick_pulldown_entries">
|
||||
<item>@string/quick_pulldown_none</item>
|
||||
<item>@string/quick_pulldown_right</item>
|
||||
<item>@string/quick_pulldown_left</item>
|
||||
<item>@string/quick_pulldown_always</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="quick_pulldown_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
||||
@@ -157,5 +157,11 @@
|
||||
<string name="battery_light_medium_color">Medium battery</string>
|
||||
<string name="battery_light_full_color">Almost full battery</string>
|
||||
<string name="battery_light_reallyfull_color">Full (100) battery</string>
|
||||
|
||||
<string name="status_bar_quick_qs_pulldown">Quick QS pulldown</string>
|
||||
<string name="quick_pulldown_none">Disabled</string>
|
||||
<string name="quick_pulldown_right">Pulldown status bar from right side</string>
|
||||
<string name="quick_pulldown_left">Pulldown status bar from left side</string>
|
||||
<string name="quick_pulldown_always">Always show quick settings on status bar pull down</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -20,6 +20,13 @@
|
||||
|
||||
<PreferenceCategory
|
||||
android:title="@string/qs_category">
|
||||
|
||||
<ListPreference
|
||||
android:key="status_bar_quick_qs_pulldown"
|
||||
android:title="@string/status_bar_quick_qs_pulldown"
|
||||
android:entries="@array/quick_pulldown_entries"
|
||||
android:entryValues="@array/quick_pulldown_values"
|
||||
android:defaultValue="0" />
|
||||
|
||||
</PreferenceCategory>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user