Google Glass GDK view error, sad cloud TableView

76 views Asked by At

I have a simple glass application Live Card which displays fine when debugging on Google Glass, however if I add a TableLayout (with or without rows) and debug on glass, I get the sad cloud. The card uses no dependent resources like network connectivity.

1

There are 1 answers

0
Tony Allevato On BEST ANSWER

As documented here, TableLayout is not one of the types of views/widgets that are supported by RemoteViews. (This is a restriction in the Android framework and not Glass-specific.) Whenever RemoteViews fail to inflate properly, it is manifested as this "sad cloud" image.

You may want to consider redesigning your layout to use nested LinearLayouts instead in order to get around this restriction.