From e50fcaac1326780ecac87fd0c15f5d466d85b367 Mon Sep 17 00:00:00 2001 From: Andrew Zeng Date: Wed, 11 Aug 2021 22:22:12 -0700 Subject: [PATCH] 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) --- .../mipmap-watch-anydpi/sym_def_app_icon_foreground.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/res/res/mipmap-watch-anydpi/sym_def_app_icon_foreground.xml b/core/res/res/mipmap-watch-anydpi/sym_def_app_icon_foreground.xml index 69c241c293699..68ccb3d0e70a7 100644 --- a/core/res/res/mipmap-watch-anydpi/sym_def_app_icon_foreground.xml +++ b/core/res/res/mipmap-watch-anydpi/sym_def_app_icon_foreground.xml @@ -1,10 +1,10 @@ + android:insetLeft="22.22%" + android:insetRight="22.22%" + android:insetTop="22.22%" + android:insetBottom="22.22%">