Question

as seen here - https://developers.google.com/glass/design/style there should be native implementation of Card "Author and content" but I cannot find how to use it.

In documentation you can change layout (a bit) by

setImageLayout(Card.ImageLayout imageLayout)

but this is minor change.

How to get that "Author and content" card style (or any other without writing own Activity)?

Was it helpful?

Solution

You have to write your owns layouts for that kind of cards. You should follow the style of https://developers.google.com/glass/design/style .

In https://developers.google.com/glass/develop/gdk/ui-widgets#xml_layouts you can find two .xml layouts that maybe help you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top