Status Update
Comments
al...@google.com <al...@google.com>
ca...@google.com <ca...@google.com> #2
Hey OP, have you tried Embedded Layout Inspector? you can try it in Iguana Canary. Please give it a try and let us know if you still have this issue.
ho...@gmail.com <ho...@gmail.com> #3
Below is partial code of the circular icon background.
<animated-vector
xmlns:android="
xmlns:aapt="
<aapt:attr name="android:drawable">
<vector
android:name="vector"
android:width="512dp"
android:height="512dp"
android:viewportWidth="512"
android:viewportHeight="512">
<path
android:name="path"
android:pathData="M 256 256 M 20.5 256 C 20.5 193.565 45.328 133.624 89.476 89.476 C 133.624 45.328 193.565 20.5 256 20.5 C 318.435 20.5 378.376 45.328 422.524 89.476 C 466.672 133.624 491.5 193.565 491.5 256 C 491.5 318.435 466.672 378.376 422.524 422.524 C 378.376 466.672 318.435 491.5 256 491.5 C 193.565 491.5 133.624 466.672 89.476 422.524 C 45.328 378.376 20.5 318.435 20.5 256"
android:fillColor="#05bdd5"
android:strokeWidth="1"/>
<path .......................................................................
</vector>
</aapt:attr>
</animated-vector>
ca...@google.com <ca...@google.com> #4
It is expected that the icon is circular <31 and using the system mask on 31.
Can you please tell us what device are you using? (Brand, Model, Software Version) If you can also share a screenshot or video, it would be helpful.
Thanks!
ho...@gmail.com <ho...@gmail.com> #5
ho...@gmail.com <ho...@gmail.com> #6
ho...@gmail.com <ho...@gmail.com> #7
ca...@google.com <ca...@google.com> #8
I am not able to reproduce the issue on an emulator with API 31.
Can you please take a
Also, did you set windowSplashScreenIconBackgroundColor
?
ho...@gmail.com <ho...@gmail.com> #9
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/colorBackgroundSplash</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_animated_icon</item>
<item name="windowSplashScreenAnimationDuration">10000</item>
<item name="postSplashScreenTheme">@style/AppTheme</item>
</style>
Since it is working on your side, do you mind sharing your working project with us so we can look into it?
ca...@google.com <ca...@google.com> #10
It's not an official sample, so take it with a grain of salt, but that's what I've used for most of my recent testing
ne...@gmail.com <ne...@gmail.com> #11
ho...@gmail.com <ho...@gmail.com> #12
ca...@google.com <ca...@google.com> #13
That's great! Thank you for letting me know.
ho...@gmail.com <ho...@gmail.com> #14
ca...@google.com <ca...@google.com> #15
No, this is defined by the system, but nothing prevent you for adding margin in your icon directly.
If the icon background is set and different from the splash screen background, the icon will be smaller but then you'll see a masked background.
Description
Version used: 1.0.0-alpha01
The circular shape animated icon (Animated Vector Drawable) displays squircle in splash screen. Is there any way to set it to display in circular shape?