• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Grid Layout Not Working in android studio

I am create Grid Layout and CardView but card view not working i am use android studio 3.0.1 When I look in the Design View, everything looks right. But when I look up the run, I do not see the card on it. Showing text and background only on that. Please help me

i am facing troubles with the layout when i launch it on device with android version 5.1 Lolipop. please assist, it does not display a the cards views
 

Attachments

  • 20171216_105758_rmscr.jpg
    20171216_105758_rmscr.jpg
    41.7 KB · Views: 156
  • Activity Main xml.txt
    10.3 KB · Views: 171
  • Screenshot (17).png
    Screenshot (17).png
    119.3 KB · Views: 240
  • Screenshot (18).png
    Screenshot (18).png
    86.4 KB · Views: 204

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones