문제

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)?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top