Advertisement
dzar

activity_second.xml

Oct 18th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 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=".SecondActivity">
  12.  
  13. <TextView
  14. android:id="@+id/text_header"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_marginBottom="12dp"
  18. android:text="@string/text_header"
  19. android:textSize="18sp"
  20. android:textStyle="bold" />
  21.  
  22. <TextView
  23. android:id="@+id/text_message"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_below="@+id/text_header"
  27. android:layout_marginLeft="12dp"
  28. android:layout_marginStart="12dp"
  29. android:textSize="18sp"
  30. />
  31.  
  32. <Button
  33. android:id="@+id/button_second"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_alignParentBottom="true"
  37. android:layout_alignParentRight="true"
  38. android:layout_alignParentEnd="true"
  39. android:onClick="returnReply"
  40. android:text="@string/button_second" />
  41.  
  42. <EditText
  43. android:id="@+id/editText_second"
  44. android:layout_width="match_parent"
  45. android:layout_height="wrap_content"
  46. android:layout_alignParentBottom="true"
  47. android:layout_toLeftOf="@+id/button_second"
  48. android:layout_toStartOf="@id/button_second"
  49. android:hint="@string/editText_second" />
  50. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement