bottom_nav.xml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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="wrap_content"
  5. android:background="@android:color/black"
  6. >
  7. <ImageView
  8. android:id="@+id/bottom_nav_left"
  9. android:layout_width="wrap_content"
  10. android:layout_height="wrap_content"
  11. android:layout_alignParentLeft="true"
  12. android:src="@drawable/ico_andriod"
  13. android:background="@drawable/selector_ico_android"
  14. android:contentDescription="@string/content_description"
  15. android:visibility="visible"
  16. android:padding="5dp"
  17. />
  18. <ImageView
  19. android:id="@+id/bottom_nav_middle"
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_centerInParent="true"
  23. android:src="@drawable/ico_home"
  24. android:background="@drawable/selector_ico_home"
  25. android:contentDescription="@string/content_description"
  26. android:visibility="visible"
  27. android:padding="5dp"
  28. />
  29. <ImageView
  30. android:id="@+id/bottom_nav_right"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_alignParentRight="true"
  34. android:src="@drawable/ico_menu"
  35. android:background="@drawable/selector_ico_menu"
  36. android:contentDescription="@string/content_description"
  37. android:visibility="visible"
  38. android:padding="5dp"
  39. />
  40. </RelativeLayout>