activity_home.xml 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <LinearLayout
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:orientation="vertical"
  9. android:layout_alignParentTop="true"
  10. android:layout_above="@+id/ll_bottom_lab">
  11. <fragment
  12. android:id="@+id/fm_home"
  13. android:name="com.ynstkz.shitu.android.fragment.HomeFragment"
  14. android:layout_width="match_parent"
  15. android:layout_height="match_parent"/>
  16. <fragment
  17. android:id="@+id/fm_nearby"
  18. android:name="com.ynstkz.shitu.android.fragment.NearbyFragment"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"/>
  21. <fragment
  22. android:id="@+id/fm_usercent"
  23. android:name="com.ynstkz.shitu.android.fragment.UserCenterFragment"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"/>
  26. </LinearLayout>
  27. <LinearLayout
  28. android:id="@+id/ll_bottom_lab"
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:layout_alignParentBottom="true"
  32. android:orientation="horizontal">
  33. <include layout="@layout/view_main_bottom"/>
  34. </LinearLayout>
  35. </RelativeLayout>