mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
UI: add icon for SpO2 measurement
This commit is contained in:
committed by
José Rebelo
parent
7309c01aed
commit
9bb3279e67
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="#7E7E7E">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M80,400Q80,300 124.5,216.5Q169,133 244,78L291,142Q231,186 195.5,253Q160,320 160,400L80,400ZM800,400Q800,320 764.5,253Q729,186 669,142L716,78Q791,133 835.5,216.5Q880,300 880,400L800,400ZM160,760L160,680L240,680L240,400Q240,317 290,252.5Q340,188 420,168L420,140Q420,115 437.5,97.5Q455,80 480,80Q505,80 522.5,97.5Q540,115 540,140L540,168Q620,188 670,252.5Q720,317 720,400L720,680L800,680L800,760L160,760ZM480,460L480,460L480,460L480,460Q480,460 480,460Q480,460 480,460Q480,460 480,460Q480,460 480,460ZM480,880Q447,880 423.5,856.5Q400,833 400,800L560,800Q560,833 536.5,856.5Q513,880 480,880ZM320,680L640,680L640,400Q640,334 593,287Q546,240 480,240Q414,240 367,287Q320,334 320,400L320,680Z"/>
|
||||
</vector>
|
||||
@@ -0,0 +1,10 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="960"
|
||||
android:viewportHeight="960"
|
||||
android:tint="#7E7E7E">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M480,800Q463,800 451.5,788.5Q440,777 440,760L440,600Q440,583 451.5,571.5Q463,560 480,560L580,560Q597,560 608.5,571.5Q620,583 620,600L620,760Q620,777 608.5,788.5Q597,800 580,800L480,800ZM500,740L560,740L560,620L500,620L500,740ZM680,880L680,770Q680,753 691.5,741.5Q703,730 720,730L800,730L800,700L680,700L680,640L820,640Q837,640 848.5,651.5Q860,663 860,680L860,750Q860,767 848.5,778.5Q837,790 820,790L740,790L740,820L860,820L860,880L680,880ZM360,878Q237,864 158.5,772.5Q80,681 80,552Q80,452 159.5,334.5Q239,217 400,80Q532,192 609.5,292Q687,392 710,480L627,480Q605,417 548,343Q491,269 400,186Q281,295 220.5,387Q160,479 160,552Q160,648 215.5,715.5Q271,783 360,797L360,878ZM394,552Q394,552 394,552Q394,552 394,552Q394,552 394,552Q394,552 394,552Q394,552 394,552Q394,552 394,552L394,552Q394,552 394,552Q394,552 394,552Z"/>
|
||||
</vector>
|
||||
@@ -17,7 +17,7 @@
|
||||
android:title="@string/prefs_stress_monitoring_title" />
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:icon="@drawable/baseline_bloodtype_24"
|
||||
android:icon="@drawable/ic_spo2"
|
||||
android:key="spo2_all_day_monitoring_enabled"
|
||||
android:layout="@layout/preference_checkbox"
|
||||
android:summary="@string/prefs_spo2_monitoring_description"
|
||||
|
||||
@@ -116,6 +116,7 @@
|
||||
android:defaultValue="false"
|
||||
android:key="spo2_all_day_monitoring_enabled"
|
||||
android:layout="@layout/preference_checkbox"
|
||||
android:icon="@drawable/ic_spo2"
|
||||
android:summary="@string/prefs_spo2_monitoring_description"
|
||||
android:title="@string/prefs_spo2_monitoring_title" />
|
||||
|
||||
@@ -126,6 +127,7 @@
|
||||
android:entryValues="@array/prefs_spo2_alert_threshold_values"
|
||||
android:key="spo2_low_alert_threshold"
|
||||
android:summary="%s"
|
||||
android:icon="@drawable/ic_notifications_active"
|
||||
android:title="@string/prefs_spo2_alert_threshold" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
android:summary="@string/pref_force_enable_heartrate_support_summary" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:icon="@drawable/ic_heart"
|
||||
android:icon="@drawable/ic_spo2"
|
||||
android:defaultValue="false"
|
||||
android:key="pref_force_enable_spo2_support"
|
||||
android:layout="@layout/preference_checkbox"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:defaultValue="false"
|
||||
android:icon="@drawable/ic_heart"
|
||||
android:icon="@drawable/ic_spo2"
|
||||
android:key="spo_automatic_enable"
|
||||
android:layout="@layout/preference_checkbox"
|
||||
android:title="@string/pref_spo_automatic_enable" />
|
||||
|
||||
Reference in New Issue
Block a user