Assigned
Status Update
Comments
wi...@google.com <wi...@google.com> #2
Hey hughesno1@, when do you add the onPreDrawListener to delay the rendering of activity? Mind providing us with a sample application?
do...@gmail.com <do...@gmail.com> #3
Nothing was specified to wait for and there are no blocking bugs or pending CLs. For usage information see go/bugjuggler.
re...@google.com <re...@google.com> #4
st...@gmail.com <st...@gmail.com> #5
Hi. I've received your bug and will wait for b/372873253 to be updated by hughesno1@gmail.com and then assign the bug to wilsonshih@google.com.
Description
Component used: androidx.core:core-splashscreen Version used: 1.0.0 Devices/Android versions reproduced on: Samsung S20 FE 5G. Android 12 - API 31
A screenshot exists here of how it looks like on a Samsung device.
I've been following the advice given in the docs which in turn points us to the docs about adaptive icons .
Following that advice I got this ic_splash.xml image which is 108dp, and inside of it I had to make a 70x70 icon and offset it by 19dp to get the desired effect.
When I had an icon which was 72x72 (with 18dp offset) instead I was getting a slight cut-off on the edges from the mask around. This isn't exactly clear from the docs, but does it mean that it's not "safe" to give an icon of size 72x72, but it needs to be smaller than that? The docs made me understand that 72x72 should exactly fit without ever being cut off. This is a screenshot of this scenario.
And in general I imagine this may have something to do with Samsung specifically where the icon for some reason is much smaller that on pixel/Xiaomi devices (the ones I had in hand to test with) and I do not understand why that is.