Advertisement
Guest User

Untitled

a guest
Sep 27th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.26 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. tools:context="org.androidtown.myapplication.MainActivity">
  7.  
  8. <LinearLayout
  9. android:orientation="horizontal"
  10. android:layout_width="match_parent"
  11. android:layout_height="40dp"
  12. android:id="@+id/linearLayout">
  13.  
  14.  
  15. <ImageButton
  16. android:layout_width="0dp"
  17. android:layout_height="wrap_content"
  18. android:layout_weight="1"
  19. android:id="@+id/imageButton"
  20. android:src="@drawable/home"
  21. android:scaleType = "fitCenter"
  22. android:maxHeight="40dp"/>
  23.  
  24. <ImageButton
  25. android:layout_width="0dp"
  26. android:layout_height="wrap_content"
  27. android:layout_weight="1"
  28. android:id="@+id/imageButton2"
  29. android:src="@drawable/location"
  30. android:layout_alignParentTop="true"
  31. android:adjustViewBounds = "true"
  32. android:scaleType = "fitCenter"
  33. android:maxHeight="40dp"/>
  34.  
  35. <ImageButton
  36. android:layout_width="0dp"
  37. android:layout_height="wrap_content"
  38. android:layout_weight="1"
  39. android:id="@+id/imageButton3"
  40. android:src="@drawable/message"
  41. android:layout_alignParentTop="true"
  42. android:adjustViewBounds = "true"
  43. android:scaleType = "fitCenter"
  44. android:maxHeight="40dp"/>
  45.  
  46. <ImageButton
  47. android:layout_width="0dp"
  48. android:layout_height="wrap_content"
  49. android:layout_weight="1"
  50. android:id="@+id/imageButton4"
  51. android:src="@drawable/settings"
  52. android:scaleType = "fitCenter"
  53. android:maxHeight="40dp"/>
  54. </LinearLayout>
  55.  
  56. <android.support.v4.view.ViewPager
  57. android:layout_width="wrap_content"
  58. android:layout_height="wrap_content"
  59. android:id="@+id/container"
  60. android:layout_centerHorizontal="true"
  61. android:layout_below="@+id/linearLayout" />
  62.  
  63. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement