activity_send_note.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:fitsSystemWindows="true"
  8. tools:context=".SendNoteActivity">
  9. <LinearLayout
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:orientation="vertical">
  13. <EditText
  14. android:id="@+id/noteTitle"
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:ems="10"
  18. android:inputType="textPersonName"
  19. android:text=""
  20. android:hint="Note title" />
  21. <EditText
  22. android:id="@+id/noteText"
  23. android:layout_width="match_parent"
  24. android:layout_height="match_parent"
  25. android:layout_marginTop="8dp"
  26. android:ems="10"
  27. android:lines="10"
  28. android:inputType="textMultiLine"
  29. android:gravity="top"
  30. android:layout_gravity="top"
  31. android:hint="Note text" />
  32. </LinearLayout>
  33. <android.support.design.widget.FloatingActionButton
  34. android:id="@+id/sendNoteButton"
  35. android:layout_width="wrap_content"
  36. android:layout_height="wrap_content"
  37. android:layout_marginBottom="32dp"
  38. android:layout_marginEnd="32dp"
  39. android:clickable="true"
  40. app:layout_constraintBottom_toBottomOf="parent"
  41. app:layout_constraintEnd_toEndOf="parent"
  42. app:srcCompat="@android:drawable/ic_menu_send" />
  43. </android.support.constraint.ConstraintLayout>