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?
[Deleted User] <[Deleted User]> #3
Nothing was specified to wait for and there are no blocking bugs or pending CLs. For usage information see go/bugjuggler.
Description
Version used: 1.0.0
Devices/Android versions reproduced on: Google Pixel 3
It works well on Pixel 3 xl or similar devices, and we tried multiple emulators, all seem good. But with Pixel 3, the icon is cut off.
This is our splash screen theme:
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/our_blue</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_our_splash_logo</item>
<item name="windowSplashScreenAnimationDuration">200</item>
<item name="postSplashScreenTheme">@style/Theme.App</item>
</style>
We were trying to follow the doc, and generate the drawable file with size of 200dp by 200dp, please check the sample code below
Here ic_our_splash_logo is a vector drawable xml file:
<vector xmlns:android="
android:width="200dp"
android:height="200dp"
android:viewportWidth="300"
android:viewportHeight="300">
<path
... />
<group>
....
</group>
</vector>
Can you take a look? it seems to be a library bug, we noticed similar issue raised by some other devs