1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-02 09:46:24 +02:00

Add device icon for Mi Watch, Xiaomi Watch S1 Active

This commit is contained in:
MrYoranimo 2023-11-29 20:23:24 +01:00
parent 20cdef5283
commit dd6d9bd271
3 changed files with 107 additions and 2 deletions

View File

@ -55,12 +55,12 @@ public class XiaomiWatchS1ActiveCoordinator extends XiaomiEncryptedCoordinator {
@Override
public int getDefaultIconResource() {
return R.drawable.ic_device_watchxplus;
return R.drawable.ic_device_miwatch;
}
@Override
public int getDisabledIconResource() {
return R.drawable.ic_device_watchxplus_disabled;
return R.drawable.ic_device_miwatch_disabled;
}
@Override

View File

@ -0,0 +1,52 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="45sp"
android:height="45sp"
android:viewportWidth="30"
android:viewportHeight="30">
<path
android:fillColor="#1f7fdb"
android:pathData="M3.871 3.877h20.925a0.947 0.947 0 0 1 0.948 0.947v20.01a0.947 0.947 0 0 1-0.948 0.948H3.871a0.947 0.947 0 0 1-0.947-0.948V4.824a0.947 0.947 0 0 1 0.947-0.947z"
android:strokeWidth="3.57115173" />
<path
android:fillColor="#4dabf5"
android:pathData="M3.879 3.035h20.925a0.947 0.947 0 0 1 0.947 0.947v20.01a0.947 0.947 0 0 1-0.947 0.948H3.88a0.947 0.947 0 0 1-0.947-0.948V3.982A0.947 0.947 0 0 1 3.88 3.035z"
android:strokeWidth="3.57115173" />
<path
android:fillColor="#2196f3"
android:pathData="M3.871 3.413h20.925a0.947 0.947 0 0 1 0.948 0.947v20.01a0.947 0.947 0 0 1-0.948 0.948H3.871a0.947 0.947 0 0 1-0.947-0.948V4.36A0.947 0.947 0 0 1 3.87 3.413z"
android:strokeWidth="3.57115173" />
<path
android:fillColor="#ffffff"
android:pathData="M17.39 6.396h0.637a0.499 0.499 0 0 1 0.499 0.5v14.377a0.499 0.499 0 0 1-0.499 0.498H17.39a0.499 0.499 0 0 1-0.499-0.498V6.895a0.499 0.499 0 0 1 0.499-0.499z"
android:strokeWidth="3.87336898" />
<group
android:translateX="20"
android:translateY="16"
android:rotation="30">
<path
android:fillColor="#ffffff"
android:pathData="M0 0h0.36a0.499 0.499 0 0 1 0.5 0.5v1.465a0.499 0.499 0 0 1-0.5 0.5h-0.36z"
android:strokeWidth="3.5" />
</group>
<group
android:translateX="18.75"
android:translateY="10"
android:rotation="-30">
<path
android:fillColor="#ffffff"
android:pathData="M0 0h0.36a0.499 0.499 0 0 1 0.5 0.5v1.465a0.499 0.499 0 0 1-0.5 0.5h-0.36z"
android:strokeWidth="3.5" />
</group>
<path
android:fillColor="#ffffff"
android:pathData="M10.667 6.396h0.638a0.499 0.499 0 0 1 0.498 0.5v14.377a0.499 0.499 0 0 1-0.498 0.498h-0.638a0.499 0.499 0 0 1-0.498-0.498V6.895a0.499 0.499 0 0 1 0.498-0.499z"
android:strokeWidth="3.87336898" />
<path
android:fillColor="#ffffff"
android:pathData="M8.456 14.053a5.923 6.099 0 1 0 11.846 0 5.923 6.099 0 1 0-11.846 0z"
android:strokeWidth="9.28846169" />
<path
android:fillColor="#2196f3"
android:pathData="M9.95 14.014a4.464 4.597 0 1 0 8.929 0 4.464 4.597 0 1 0-8.928 0z"
android:strokeWidth="7.00060892" />
</vector>

View File

@ -0,0 +1,53 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="45sp"
android:height="45sp"
android:viewportWidth="30"
android:viewportHeight="30">
<path
android:fillColor="#7a7a7a"
android:pathData="M3.871 3.877h20.925a0.947 0.947 0 0 1 0.948 0.947v20.01a0.947 0.947 0 0 1-0.948 0.948H3.871a0.947 0.947 0 0 1-0.947-0.948V4.824a0.947 0.947 0 0 1 0.947-0.947z"
android:strokeWidth="3.57115173" />
<path
android:fillAlpha="0.9411765"
android:fillColor="#9f9f9f"
android:pathData="M3.879 3.035h20.925a0.947 0.947 0 0 1 0.947 0.947v20.01a0.947 0.947 0 0 1-0.947 0.948H3.88a0.947 0.947 0 0 1-0.947-0.948V3.982A0.947 0.947 0 0 1 3.88 3.035z"
android:strokeWidth="3.57115173" />
<path
android:fillColor="#8a8a8a"
android:pathData="M3.871 3.413h20.925a0.947 0.947 0 0 1 0.948 0.947v20.01a0.947 0.947 0 0 1-0.948 0.948H3.871a0.947 0.947 0 0 1-0.947-0.948V4.36A0.947 0.947 0 0 1 3.87 3.413z"
android:strokeWidth="3.57115173" />
<path
android:fillColor="#ffffff"
android:pathData="M17.39 6.396h0.637a0.499 0.499 0 0 1 0.499 0.5v14.377a0.499 0.499 0 0 1-0.499 0.498H17.39a0.499 0.499 0 0 1-0.499-0.498V6.895a0.499 0.499 0 0 1 0.499-0.499z"
android:strokeWidth="3.87336898" />
<group
android:translateX="20"
android:translateY="16"
android:rotation="30">
<path
android:fillColor="#ffffff"
android:pathData="M0 0h0.36a0.499 0.499 0 0 1 0.5 0.5v1.465a0.499 0.499 0 0 1-0.5 0.5h-0.36z"
android:strokeWidth="3.5" />
</group>
<group
android:translateX="18.75"
android:translateY="10"
android:rotation="-30">
<path
android:fillColor="#ffffff"
android:pathData="M0 0h0.36a0.499 0.499 0 0 1 0.5 0.5v1.465a0.499 0.499 0 0 1-0.5 0.5h-0.36z"
android:strokeWidth="3.5" />
</group>
<path
android:fillColor="#ffffff"
android:pathData="M10.667 6.396h0.638a0.499 0.499 0 0 1 0.498 0.5v14.377a0.499 0.499 0 0 1-0.498 0.498h-0.638a0.499 0.499 0 0 1-0.498-0.498V6.895a0.499 0.499 0 0 1 0.498-0.499z"
android:strokeWidth="3.87336898" />
<path
android:fillColor="#ffffff"
android:pathData="M8.456 14.053a5.923 6.099 0 1 0 11.846 0 5.923 6.099 0 1 0-11.846 0z"
android:strokeWidth="9.28846169" />
<path
android:fillColor="#8a8a8a"
android:pathData="M9.95 14.014a4.464 4.597 0 1 0 8.929 0 4.464 4.597 0 1 0-8.928 0z"
android:strokeWidth="7.00060892" />
</vector>