zzz_main.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <merge xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <TabHost
  6. android:id="@+id/zzz_home_view"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent">
  9. <RelativeLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent">
  12. <include
  13. android:id="@+id/zzz_title_bar"
  14. layout="@layout/zzz_second_title_layout"/>
  15. <HorizontalScrollView
  16. android:id="@+id/zzz_scroll_view"
  17. android:layout_width="match_parent"
  18. android:layout_height="@dimen/zzz_main_tab_height"
  19. android:layout_alignParentBottom="true"
  20. android:background="@color/zzz_main_tab_unselected"
  21. android:fillViewport="true"
  22. android:overScrollMode="never"
  23. android:scrollbars="none">
  24. <TabWidget
  25. android:id="@android:id/tabs"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:background="@drawable/zzz_tabwidget_bg"
  29. android:divider="@null"
  30. android:paddingLeft="@dimen/zzz_main_tab_margin_left"
  31. android:paddingRight="@dimen/zzz_main_tab_margin_right">
  32. </TabWidget>
  33. </HorizontalScrollView>
  34. <FrameLayout
  35. android:id="@android:id/tabcontent"
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent"
  38. android:layout_above="@id/zzz_scroll_view"
  39. android:layout_below="@id/zzz_title_bar"
  40. android:background="@color/zzz_local_page_bg">
  41. </FrameLayout>
  42. </RelativeLayout>
  43. </TabHost>
  44. </merge>