You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was playing with your OnboardingWithPlaceholderActivity and I found the layer-list drawable that you use for the placeholder doesn't render as what is shown in your post. The whole screen is blue instead of having the height you specify.
After some experiments, I was able to fix the problem by swapping the order of the items in the layer-list drawable (grey color on top of blue color) and set a top offset for grey which equals to the height of the toolbar. I don't know why setting a height for item in layer-list doesn't work for me.
The text was updated successfully, but these errors were encountered:
Hi, I was playing with your
OnboardingWithPlaceholderActivity
and I found thelayer-list
drawable that you use for the placeholder doesn't render as what is shown in your post. The whole screen is blue instead of having the height you specify.After some experiments, I was able to fix the problem by swapping the order of the items in the
layer-list
drawable (grey color on top of blue color) and set a top offset for grey which equals to the height of the toolbar. I don't know why setting a height for item inlayer-list
doesn't work for me.The text was updated successfully, but these errors were encountered: