Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="${relativePackage}.${activityClass}" >
- <Button
- android:id="@+id/button1"
- android:layout_width="200dp"
- android:layout_height="100dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:layout_marginLeft="174dp"
- android:layout_marginTop="154dp"
- android:text="Klick' mich!" />
- <TextView
- android:id="@+id/tex1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignLeft="@+id/button1"
- android:layout_below="@+id/button1"
- android:layout_marginLeft="49dp"
- android:layout_marginTop="40dp"
- android:text="0 mal geklickt!"
- android:onClick="eins" />
- <Button
- android:id="@+id/button2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignRight="@+id/tex1"
- android:layout_below="@+id/tex1"
- android:layout_marginTop="43dp"
- android:text="Zurücksetzen"
- android:onClick="zwei" />
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement