Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. //XML
  2. <?xml version="1.0" encoding="utf-8"?>
  3. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:orientation="vertical"
  5. android:layout_width="fill_parent"
  6. android:layout_height="fill_parent"
  7. >
  8. <RelativeLayout android:layout_width="match_parent" android:layout_height="350dip" android:id="@+id/relativeLayout1">
  9. <EditText
  10. android:hint="Radius"
  11. android:layout_height="wrap_content"
  12. android:id="@+id/editText1"
  13. android:layout_alignParentLeft="true" android:layout_width="220dip" android:layout_marginLeft="50dip" android:layout_marginTop="30dip">
  14. </EditText>
  15. <Button
  16. android:layout_height="wrap_content"
  17. android:text="Button"
  18. android:id="@+id/button1"
  19. android:layout_below="@+id/editText1" android:layout_width="120dip" android:layout_marginLeft="100dip">
  20. </Button>
  21. <EditText
  22. android:hint="Area"
  23. android:layout_height="wrap_content"
  24. android:id="@+id/editText2"
  25. android:layout_below="@+id/button1" android:layout_width="220dip" android:layout_marginLeft="50dip" android:layout_marginTop="20dip">
  26. </EditText>
  27. <EditText
  28. android:hint="Circumference"
  29. android:layout_height="wrap_content"
  30. android:id="@+id/editText3"
  31. android:layout_below="@+id/editText2" android:layout_width="220dip" android:layout_marginLeft="50dip">
  32. </EditText>
  33. </RelativeLayout>
  34.  
  35. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement