android - CardView shadow not visible on Lollipop -


i have found weird issue in cardview. when try add programmatically created cardview xml inflated viewgroup, shadow rendered on lollipop devices. if add cardview inside programmatically created viewgroup eg. relativelayout, & add relativelayout in xml inflated viewgroup shadow isn't rendered on lollipop. don't know if have set property os sets automatically while inflating xml views & mandatory set if creating viewgroups programmatically in order draw shadows. please note on pre lollipop devices shadows rendered no matter in viewgroup add cardview. how can resolve issue?

code here: https://gist.github.com/wingoku/eee1e95bea313f8a0206

best regards


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -