Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. tools:context="${relativePackage}.${activityClass}" >
  6.  
  7. <Button
  8. android:id="@+id/button1"
  9. android:layout_width="200dp"
  10. android:layout_height="100dp"
  11. android:layout_alignParentLeft="true"
  12. android:layout_alignParentTop="true"
  13. android:layout_marginLeft="174dp"
  14. android:layout_marginTop="154dp"
  15. android:text="Klick&apos; mich!" />
  16.  
  17. <TextView
  18. android:id="@+id/tex1"
  19. android:layout_width="wrap_content"
  20. android:layout_height="wrap_content"
  21. android:layout_alignLeft="@+id/button1"
  22. android:layout_below="@+id/button1"
  23. android:layout_marginLeft="49dp"
  24. android:layout_marginTop="40dp"
  25. android:text="0 mal geklickt!"
  26. android:onClick="eins" />
  27.  
  28. <Button
  29. android:id="@+id/button2"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_alignRight="@+id/tex1"
  33. android:layout_below="@+id/tex1"
  34. android:layout_marginTop="43dp"
  35. android:text="Zurücksetzen"
  36. android:onClick="zwei" />
  37.  
  38. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement