سؤال

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