Advertisement
sigitsuryono25

ActivityMain.xml

Feb 9th, 2021
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 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. android:orientation="vertical"
  7. tools:context=".MainActivity">
  8.  
  9. <ImageView
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:id="@+id/logo" />
  13.  
  14. <LinearLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:orientation="horizontal"
  18. >
  19. <Button
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_marginHorizontal="5dp"
  23. android:id="@+id/letsPlay"
  24. android:text="Let's Play"/>
  25.  
  26. <Button
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:id="@+id/tentangAplikasi"
  30. android:text="Tentang"/>
  31. <Button
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:id="@+id/exit"
  35. android:text="Keluar"/>
  36. </LinearLayout>
  37.  
  38. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement