zzz_tab_viewpager_content.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <TabHost
  3. android:id="@+id/zzz_tabhost"
  4. xmlns:android="http://schemas.android.com/apk/res/android"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="match_parent"
  10. android:orientation="vertical">
  11. <HorizontalScrollView
  12. android:id="@+id/zzz_scroll_view"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:background="@color/zzz_white"
  16. android:fillViewport="true"
  17. android:overScrollMode="never"
  18. android:scrollbars="none">
  19. <TabWidget
  20. android:id="@android:id/tabs"
  21. android:layout_width="wrap_content"
  22. android:layout_height="@dimen/zzz_tab_height"
  23. android:background="@color/zzz_white"
  24. android:divider="@null"
  25. android:paddingLeft="@dimen/zzz_sub_tab_padding_left"
  26. android:paddingRight="@dimen/zzz_sub_tab_padding_right">
  27. </TabWidget>
  28. </HorizontalScrollView>
  29. <FrameLayout
  30. android:layout_width="match_parent"
  31. android:layout_height="match_parent">
  32. <com.gionee.gamesdk.business.core.ui.TabViewPager
  33. android:id="@+id/zzz_pager"
  34. android:layout_width="match_parent"
  35. android:layout_height="match_parent"
  36. android:background="@color/zzz_local_page_bg"/>
  37. </FrameLayout>
  38. <FrameLayout
  39. android:id="@android:id/tabcontent"
  40. android:layout_width="match_parent"
  41. android:layout_height="match_parent">
  42. </FrameLayout>
  43. </LinearLayout>
  44. </TabHost>