Google Now UI to view list

I have created an application with the CardUI library, but I cannot do what I want to do with libary. So I decided to recreate it in my own layout. I am using listview, with a CustomCursorAdapter that gets an XML layout to put it in a listview. I saw these cards:

enter image description here

I want the map layout to fit in an XML file (listview and single_item), but I cannot do this. I have a lot of problems creating this layout in an XML file.

+4
source share
1 answer

To reduce the redundancy that would (very likely) result when implementing this as xml, I just took this screenshot and created a 9.png file for this. Added 9.png as a background and got the perfect result I was hoping for.

Until you want some fancy goodies to use special things such as changing shadows or the like, I recommend.

+3
source

Source: https://habr.com/ru/post/1481810/


All Articles