Sunday 15 June 2014

android - Using RecyclerView with Card -



android - Using RecyclerView with Card -

i have recyclerview card items. , on prelollipop devices looks fine. on lollipop looks without spacing between kid cards. tried utilize margin , padding, didn't help. when utilize margin on lollipop looks fine, same margin on prelollipop spacing big. 1 time again: why there different spacings? property should utilize prepare it?

this happening because on l, shadows outside the view bounds pre-l, within view (unfortunately there no real shadow back upwards pre-l).

if want cardview have same spacing on l well, set cardusecompatpadding true.

android android-5.0-lollipop recyclerview

No comments:

Post a Comment