NetworkTraffic: Add Option for Users to select size of Single Traffic (Up/Down) Font Size [2/2]

spezi77: Adapted to our custom Settings & set default value to 42dp.

Change-Id: Ic9b2d90eda20f36b6c59fdd65ff558d14923624f
Signed-off-by: spezi77 <spezi7713@gmx.net>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
SuperDroidBond
2019-03-03 23:26:27 +05:30
committed by Hưng Phan
parent 78810eb503
commit d9a434604e
3 changed files with 24 additions and 0 deletions

View File

@@ -360,4 +360,5 @@
<string name="show_network_traffic_up">Uplink</string>
<string name="show_network_traffic_down">Downlink</string>
<string name="show_network_traffic_all">Uplink and Downlink</string>
<string name="nettraf_font_size">Single net font size</string>
</resources>

View File

@@ -45,4 +45,11 @@
android:summary="@string/network_traffic_arrow_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.CustomSeekBarPreference
android:key="network_traffic_font_size"
android:title="@string/nettraf_font_size"
android:max="60"
settings:min="21"
settings:defaultValue="42"
settings:units="dp" />
</PreferenceScreen>