Use percentage insets in default Wear app icon

This prevents scaling issues when setting the bounds to low
values.

Bug: 194473271
Test: manually verify in launcher
Change-Id: Idb54da01f73be7e4e46f1feedf0fc4a33c9c0d19
(cherry picked from commit 8a96794ab0f449b9f0216d40c11e5f9fb8329ea3)
This commit is contained in:
Andrew Zeng
2021-08-11 22:22:12 -07:00
committed by Josh Yang
parent fbeb7661a5
commit e50fcaac13

View File

@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<inset
xmlns:android="http://schemas.android.com/apk/res/android"
android:insetLeft="24dp"
android:insetRight="24dp"
android:insetTop="24dp"
android:insetBottom="24dp">
android:insetLeft="22.22%"
android:insetRight="22.22%"
android:insetTop="22.22%"
android:insetBottom="22.22%">
<vector
android:width="60dp"
android:height="60dp"