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
- -->
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <TextView
- android:id="@+id/tabTitle"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:textAppearance="?android:attr/textAppearanceLarge" />
- </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