Advertisement
Guest User

ojekonline

a guest
Jan 18th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. android:padding="30dp"
  9. tools:context="com.deaenita.ojekonline.MainActivity">
  10.  
  11. <ImageView
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:src="@drawable/logo_hitam"
  15. />
  16.  
  17. <LinearLayout
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:orientation="horizontal"
  21. android:layout_gravity="center"
  22. android:gravity="center">
  23. <LinearLayout
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:orientation="vertical">
  27. <ImageView
  28. android:layout_width="100dp"
  29. android:layout_height="100dp"
  30. android:src="@drawable/menu_gomart"
  31. android:id="@+id/btn_go_mart"
  32. android:layout_margin="20dp"/>
  33. <ImageView
  34. android:layout_width="100dp"
  35. android:layout_height="100dp"
  36. android:src="@drawable/menu_gosend"
  37. android:id="@+id/brn_go_send"
  38. android:layout_margin="20dp"/>
  39. </LinearLayout>
  40. <LinearLayout
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:orientation="vertical">
  44. <ImageView
  45. android:layout_width="100dp"
  46. android:layout_height="100dp"
  47. android:src="@drawable/menu_gofood"
  48. android:id="@+id/btn_go_food"
  49. android:layout_margin="20dp"/>
  50. <ImageView
  51. android:layout_width="100dp"
  52. android:layout_height="100dp"
  53. android:src="@drawable/menu_goride"
  54. android:id="@+id/btn_go_ride"
  55. android:layout_margin="20dp"/>
  56. </LinearLayout>
  57. </LinearLayout>
  58. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement