Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- Blog Post:
- http://devleader.ca/2013/11/04/fragments-tabbed-android-user-interface
- Layouts:
- activity_main.xml: http://pastebin.com/kj8M38Ze
- fragment_tabs.xml: http://pastebin.com/0b7HAeAK
- simple_tab.xml: http://pastebin.com/9SqLbS0X
- Classes:
- MainActivity.java: http://pastebin.com/eBv3H775
- SimpleTabDefinition.java: http://pastebin.com/wW3WCcy9
- TabDefinition.java: http://pastebin.com/KSRV2f3U
- TabsFragment.java: http://pastebin.com/9Asv7AVH
- -->
- <LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent">
- <fragment
- class="com.devleader.tab_fragment_tutorial.TabsFragment"
- android:id="@+id/tabs_fragment"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" />
- </LinearLayout>
Advertisement
Comments
-
- Remember to check out my blog: https://www.devleader.ca
- Subscribe to my newsletter at: https://www.devleader.ca/newsletter
- Check out my videos at: https://www.youtube.com/devleader
Add Comment
Please, Sign In to add comment
Advertisement