NetworkTraffic: Actually scale in DP for single net font [2/2]

Lying to the user is bad

Signed-off-by: spezi77 <spezi7713@gmx.net>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Ido Ben-Hur
2021-12-25 11:35:37 +01:00
committed by Hưng Phan
parent fea89685c3
commit a0ee6106ab
2 changed files with 5 additions and 5 deletions

View File

@@ -313,7 +313,7 @@
<string name="traffic_disabled">Disabled</string> <string name="traffic_disabled">Disabled</string>
<string name="traffic_statusbar">Statusbar</string> <string name="traffic_statusbar">Statusbar</string>
<string name="traffic_expanded_statusbar">Expanded header</string> <string name="traffic_expanded_statusbar">Expanded header</string>
<string name="network_traffic_autohide_threshold_title">Net activity autohide threshold (KB/s)</string> <string name="network_traffic_autohide_threshold_title">Net activity autohide threshold</string>
<string name="network_traffic_arrow">Show arrows</string> <string name="network_traffic_arrow">Show arrows</string>
<string name="network_traffic_arrow_summary">Show the network traffic indicator arrows</string> <string name="network_traffic_arrow_summary">Show the network traffic indicator arrows</string>
<string name="network_traffic_type">Select net activity type</string> <string name="network_traffic_type">Select net activity type</string>

View File

@@ -44,13 +44,13 @@
android:max="10" android:max="10"
settings:min="0" settings:min="0"
settings:defaultValue="1" settings:defaultValue="1"
settings:units="" /> settings:units="KB/s" />
<com.cherish.settings.preferences.CustomSeekBarPreference <com.cherish.settings.preferences.CustomSeekBarPreference
android:key="network_traffic_font_size" android:key="network_traffic_font_size"
android:title="@string/nettraf_font_size" android:title="@string/nettraf_font_size"
android:max="46" android:max="15"
android:min="26" android:min="6"
settings:defaultValue="36" settings:defaultValue="10"
settings:units="dp" /> settings:units="dp" />
</PreferenceScreen> </PreferenceScreen>