Cherish: Add Network traffic location
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
committed by
Hưng Phan
parent
bc63f10c90
commit
02f68e76af
@@ -407,4 +407,15 @@
|
|||||||
<item>2</item>
|
<item>2</item>
|
||||||
<item>3</item>
|
<item>3</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
|
<!-- Network traffic location -->
|
||||||
|
<string-array name="network_traffic_location_entries" translatable="false">
|
||||||
|
<item>@string/network_traffic_statusbar</item>
|
||||||
|
<item>@string/network_traffic_qs_header</item>
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<string-array name="network_traffic_location_values" translatable="false">
|
||||||
|
<item>0</item>
|
||||||
|
<item>1</item>
|
||||||
|
</string-array>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -504,5 +504,8 @@
|
|||||||
<string name="traffic_summary">Customize the traffic indicators</string>
|
<string name="traffic_summary">Customize the traffic indicators</string>
|
||||||
<string name="network_traffic_state_title">Show network traffic</string>
|
<string name="network_traffic_state_title">Show network traffic</string>
|
||||||
<string name="network_traffic_autohide_threshold_title">Auto-hide threshold</string>
|
<string name="network_traffic_autohide_threshold_title">Auto-hide threshold</string>
|
||||||
|
<string name="network_traffic_location_title">Location</string>
|
||||||
|
<string name="network_traffic_statusbar">Status bar</string>
|
||||||
|
<string name="network_traffic_qs_header">QS header</string>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
@@ -23,6 +23,14 @@
|
|||||||
android:key="network_traffic_state"
|
android:key="network_traffic_state"
|
||||||
android:title="@string/network_traffic_state_title"
|
android:title="@string/network_traffic_state_title"
|
||||||
android:defaultValue="false" />
|
android:defaultValue="false" />
|
||||||
|
|
||||||
|
<com.cherish.settings.preferences.SystemSettingListPreference
|
||||||
|
android:key="network_traffic_location"
|
||||||
|
android:title="@string/network_traffic_location_title"
|
||||||
|
android:entries="@array/network_traffic_location_entries"
|
||||||
|
android:entryValues="@array/network_traffic_location_values"
|
||||||
|
android:defaultValue="0"
|
||||||
|
android:dependency="network_traffic_state" />
|
||||||
|
|
||||||
<com.cherish.settings.preferences.CustomSeekBarPreference
|
<com.cherish.settings.preferences.CustomSeekBarPreference
|
||||||
android:key="network_traffic_autohide_threshold"
|
android:key="network_traffic_autohide_threshold"
|
||||||
|
|||||||
Reference in New Issue
Block a user