shimmer-android
shimmer-android copied to clipboard
Preview not working correctly after v0.2.0 in Design View
This is not rendering correctly after upgrading from v0.1.0
to v0.5.0
. It is showing a gray color box instead of actual elements inside the layout.
Design View Preview with ShimmerFrameLayout v0.1.0
Design View Preview with ShimmerFrameLayout v0.5.0
base alpha is 0.3 default in version 0.5.0, you can change it in xml
app:shimmer_base_alpha="0.3"
base alpha is 0.3 default in version 0.5.0, you can change it in xml
app:shimmer_base_alpha="0.3"
No, if I use app:shimmer_base_alpha="1"
, there is no shimmer animation shown when running.
you should config this
// apply custom color
app:shimmer_colored="true"
app:shimmer_base_color="color"
app:shimmer_highlight_color="color"
@mengxn, This will change the base and highlight colors, But I don't want to change default colors. In the v0.1.0, the preview worked without any issue.
why not use tools:xxx namespace?
why not use tools:xxx namespace?
can you please elaborate more on this?
What was the behavior like for 0.1.0? We didnt add specific editor support so I'm not sure what you're expecting it to look like.
Did you find any solution to this?