use viewpager and fragmenttabhost,create a FrameWoker like weixin.
TabMenuViewpager is hosted in the following web site
https://github.com/RobotFish/TabMenuViewpager
If you think the Android project TabMenuViewpager 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 TabMenuViewpager.
Item | Value |
---|---|
Java File Count | 4 |
Supported screen sizes | [hdpi] |
Target SDK Version | 19 |
Minimum SDK Version | 8 |
Activity Count | 1 |
Fragment Count | 4 |
jar files used | android-support-v4.jar |
There are 7 image files in TabMenuViewpager. The names of the image files are listed as follows.
icon_first_normal.png icon_first_press.png icon_second_normal.png icon_second_press.png icon_third_normal.png icon_third_press.png tab_bottom_bg.png
The following screenshort is generated from the image listed above.
TabMenuViewpager has the following Java source files.
com.example.fragmenttabhostviewpager.Fragment1.java com.example.fragmenttabhostviewpager.Fragment2.java com.example.fragmenttabhostviewpager.Fragment3.java com.example.fragmenttabhostviewpager.MainActivity.java