Closed kul3r4 closed 7 months ago
@ithinkihaveacat take a look for the addition of the adaptive icons if it looks good. @garanj FYI
@yschimke The issue when not specifying
android:width="@dimen/splash_screen_icon_size"
android:height="@dimen/splash_screen_icon_size"
even if you use parent="Theme.SplashScreen.IconBackground"
, it's that you will get a different icon from the launcher in size. Attaching video.
Screen_recording_20240310_210018.webm
Was the suggestion to remove dimens.xml?
I think we should fix the library to use the correct defaults!
But for now, this is correct.
Going to land, to play around with. Any further comments in a follow up?
Hope this is ok @kul3r4
@kul3r4 from https://issuetracker.google.com/issues/256678037 - it seems like the values 72/90 in https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:core/core-splashscreen/src/main/res/values-watch/dimens.xml;l=26 are deliberate.
Should we reopen this issue?
Add splashscreen for Wear 3 by following guidance from https://developer.android.com/reference/androidx/core/splashscreen/SplashScreen. It adds a theme file and a splashscreen.xml so that we can define sizes (otherwise the icon is too big.) Also adds adaptive icons both for launcher and splashscreen.