Advertisement
dzar

activity_main.xml

Oct 18th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.96 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:paddingBottom="@dimen/activity_vertical_margin"
  8. android:paddingLeft="@dimen/activity_horizontal_margin"
  9. android:paddingRight="@dimen/activity_horizontal_margin"
  10. android:paddingTop="@dimen/activity_vertical_margin"
  11. tools:context=".MainActivity">
  12.  
  13. <TextView
  14. android:id="@+id/text_header_reply"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_marginBottom="12dp"
  18. android:text="@string/text_header_reply"
  19. android:textSize="18sp"
  20. android:textStyle="bold"
  21. android:visibility="invisible" />
  22.  
  23. <TextView
  24. android:id="@+id/text_message_reply"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:layout_below="@+id/text_header_reply"
  28. android:layout_marginLeft="12dp"
  29. android:layout_marginStart="12dp"
  30. android:textSize="18sp"
  31. android:visibility="invisible" />
  32.  
  33. <Button
  34. android:id="@+id/button_main"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_alignParentBottom="true"
  38. android:layout_alignParentRight="true"
  39. android:layout_alignParentEnd="true"
  40. android:onClick="launchSecondActivity"
  41. android:text="@string/button_main" />
  42.  
  43. <EditText
  44. android:id="@+id/editText_main"
  45. android:layout_width="match_parent"
  46. android:layout_height="wrap_content"
  47. android:layout_alignParentBottom="true"
  48. android:layout_toLeftOf="@+id/button_main"
  49. android:layout_toStartOf="@+id/button_main"
  50. android:hint="@string/editText_main" />
  51. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement