Search code examples
androidgoogle-glassgoogle-gdk

Create a CardBuilder with a custom layout


Instead of creating a new CardBuilder with en Enum like CardBuilder.Layout.COLUMNS_FIXED, I'd like to create them with custom layouts. Is this possible? What other alternative is there?


Solution

  • No, current version of CardBuilder doesn't support a custom layout. But there is plenty of examples on how to use custom layouts with a CardScrollAdapter inside a CardScrollView