Huawei: fix icons for stress and spO2 alert

This commit is contained in:
Me7c7
2025-08-04 13:28:35 +03:00
parent 9ef4a5881a
commit a9dc816000
3 changed files with 13 additions and 2 deletions
+10
View File
@@ -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="?attr/colorControlNormal">
<path
android:fillColor="@android:color/white"
android:pathData="M480,640q59,0 127.5,-20.5T797,546q2,-11 2.5,-21.5t0.5,-21.5q0,-11 -8.5,-18t-19.5,-4q-14,5 -31,10.5T698,508q-69,29 -118,40.5T480,560q-52,0 -102,-12t-122,-41q-26,-11 -40,-16l-28,-10q-11,-4 -19.5,3.5T160,503q0,11 0.5,21.5T163,546q101,48 179.5,71T480,640ZM480,800q94,0 167,-41t114,-110q-88,37 -155,54t-126,17q-58,0 -129,-17.5T198,650q40,69 113.5,109.5T480,800ZM480,400q-66,0 -113,-47t-47,-113q0,-66 47,-113t113,-47q66,0 113,47t47,113q0,66 -47,113t-113,47ZM480,320q33,0 56.5,-23.5T560,240q0,-33 -23.5,-56.5T480,160q-33,0 -56.5,23.5T400,240q0,33 23.5,56.5T480,320ZM480,880q-177,0 -288.5,-105T80,503q0,-52 41.5,-83t90.5,-15q16,5 33.5,11.5T287,433q64,26 106,36.5t87,10.5q43,0 85,-10t103,-36q29,-11 46.5,-18t34.5,-12q49,-14 90,17t41,82q0,79 -31,147.5T764,770q-54,51 -127,80.5T480,880Z"/>
</vector>
@@ -4,7 +4,7 @@
android:dependency="spo_automatic_enable"
android:entries="@array/prefs_huawei_spo_low_alert_names"
android:entryValues="@array/prefs_huawei_spo_low_alert_values"
android:icon="@drawable/ic_heart"
android:icon="@drawable/ic_spo2"
android:defaultValue="0"
android:key="pref_huawei_spo_low_alert"
android:summary="%s"
@@ -1,13 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen
android:icon="@drawable/ic_heart"
android:icon="@drawable/ic_stress"
android:key="screen_huawei_stress"
android:persistent="false"
android:title="@string/menuitem_stress">
<SwitchPreferenceCompat
android:defaultValue="false"
android:icon="@drawable/ic_stress"
android:key="pref_huawei_stress_switch"
android:layout="@layout/preference_checkbox"
android:title="@string/huawei_stress_test_enable"