Allow CardView to be empty (card==null)
Ensure backward compatibility to API 10

- Replaced GridLayout with LinearLayouts
- Replaced Spaces with plain Views
- Replaced setBackground with the deprecated setBackgroundDrawable
  for API<16
Improved UI, especially for small screens