Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:orientation="vertical"
  5. android:layout_height="match_parent"
  6. android:layout_width="match_parent">
  7. <LinearLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:orientation="horizontal">
  11. <Button
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:id="@+id/btn_start"
  15. android:layout_weight="1"
  16. android:text="start"/>
  17. <Button
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. android:layout_weight="1"
  21. android:id="@+id/btn_stop"
  22. android:text="stop"/>
  23.  
  24. </LinearLayout>
  25. <ImageView
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_gravity="center"
  29. android:id="@+id/image"/>
  30. <ImageView
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:layout_gravity="center"
  34. android:id="@+id/image2"
  35. android:padding="20dp"
  36. android:src="@drawable/android1"/>
  37. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement