I was trying to specify usage of a DeckLayoutPanel (not Dock…) in UiBinder using <g:layer> tags, but that didn’t seem to work. Does anyone have proper usage of this component when using inside .ui.xml?
I don’t see it documented in javadoc at least or anywhere on the web for that matter.
<g:layer>tags are only forLayoutPanel.DeckLayoutPanelmanages the layout of its children, so you use it just like anyHasWidgets: add child widgets as direct child elements.You can see it used in the MobileWebApp sample’s Tablet UI.