mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-23 02:16:48 +01:00
Add icon for temperature unit preference
This commit is contained in:
parent
c2668d2e6c
commit
10b5b1ea7c
@ -31,3 +31,6 @@ Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0):
|
||||
|
||||
MIT License as per https://github.com/flipperdevices/Flipper-iOS-App/blob/dev/LICENSE
|
||||
Flipper device icons, Source SVG https://raw.githubusercontent.com/flipperdevices/Flipper-iOS-App/main/Flipper/Shared/Assets.xcassets/Device/FlipperBlack.imageset/FlipperBlack.svg
|
||||
|
||||
Apache License Version 2.0 as per https://github.com/google/material-design-icons/blob/master/LICENSE
|
||||
Material Symbols & Icons. Source: https://github.com/google/material-design-icons
|
||||
|
10
app/src/main/res/drawable/ic_thermometer.xml
Normal file
10
app/src/main/res/drawable/ic_thermometer.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:tint="#7E7E7E"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M480,840Q397,840 338.5,781.5Q280,723 280,640Q280,592 301,550.5Q322,509 360,480L360,240Q360,190 395,155Q430,120 480,120Q530,120 565,155Q600,190 600,240L600,480Q638,509 659,550.5Q680,592 680,640Q680,723 621.5,781.5Q563,840 480,840ZM480,760Q530,760 565,725Q600,690 600,640Q600,611 587.5,586Q575,561 552,544L520,520L520,400L520,240Q520,223 508.5,211.5Q497,200 480,200Q463,200 451.5,211.5Q440,223 440,240L440,400L440,520L408,544Q385,561 372.5,586Q360,611 360,640Q360,690 395,725Q430,760 480,760ZM480,640Q480,640 480,640Q480,640 480,640Q480,640 480,640Q480,640 480,640L480,640L480,640L480,640L480,640L480,640Q480,640 480,640Q480,640 480,640Q480,640 480,640Q480,640 480,640Z" />
|
||||
</vector>
|
@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ListPreference
|
||||
android:icon="@drawable/ic_thermometer"
|
||||
android:key="temperature_scale_cf"
|
||||
android:title="@string/temperature_scale_cf"
|
||||
android:entries="@array/temperature_scales_cf"
|
||||
|
Loading…
Reference in New Issue
Block a user