Proof of concept of a Tab application with one common fragment, just changing the content between tabs. This project was created totally based on this tutorial and code: http://wptrafficanalyzer.in/blog/creating-navigation-tabs-using-tabhost-and-fragments-in-android/.
fragmenttabspoc-android is hosted in the following web site
https://github.com/victoraldecoa/fragmenttabspoc-android
If you think the Android project fragmenttabspoc-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of fragmenttabspoc-android.
Item | Value |
---|---|
Java File Count | 2 |
Supported screen sizes | [ldpi, mdpi, hdpi, xhdpi] |
Target SDK Version | 17 |
Minimum SDK Version | 7 |
Activity Count | 1 |
Fragment Count | 1 |
jar files used | android-support-v4.jar |
There are 5 image files in fragmenttabspoc-android. The names of the image files are listed as follows.
android_selected.png android_unselected.png apple_selected.png apple_unselected.png ic_action_search.png
The following screenshort is generated from the image listed above.
fragmenttabspoc-android has the following Java source files.
br.com.victoraldecoa.fragmenttabspoc.MainActivity.java br.com.victoraldecoa.fragmenttabspoc.OsListFragment.java