Skip to content

Instantly share code, notes, and snippets.

@paul-english
Created August 1, 2011 22:18
Show Gist options
  • Save paul-english/1119132 to your computer and use it in GitHub Desktop.
Save paul-english/1119132 to your computer and use it in GitHub Desktop.
API Snippet
<linearlayout orientation="vertical" width="100%" height="100%">
<tabview width="100%" height="50%">
<tab label="Tab 1">
<linearlayout orientation="vertical" width="100%" height="100%">
<image src="http://example.com/image.png" width="50" height="80"/>
<image src="http://example.com/image.png" width="200" height="80"/>
</linearlayout>
</tab>
<tab label="Tab 2" icon="http://example.com/icon.png">
<linearlayout orientation="vertical" width="100%" height="100%">
<image src="http://example.com/image2.png" width="200" height="80"/>
<image src="http://example.com/image2.png" width="50" height="80"/>
</linearlayout>
</tab>
<tab label="Tab 3">
<relativelayout width="100%" height="100%">
<image src="http://example.com/image3.png" width="50" height="50" x="50" y="50"/>
<image src="http://example.com/image3.png" width="200" height="80" x="80" y="150"/>
</relativelayout>
</tab>
</tabview>
<linearlayout orientation="horizontal" width="100%" height="50%">
<image src="http://example.com/image.png" width="50" height="50"/>
<image src="http://example.com/image.png" width="50" height="50"/>
<webview width="100%" height="100%" url="http://www.google.com"/>
</linearlayout>
</linearlayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment