You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

task_input.xml 3.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. android:id="@+id/layout_root"
  5. android:layout_width="fill_parent"
  6. android:layout_height="fill_parent"
  7. android:orientation="vertical"
  8. android:padding="10dp" >
  9. <TextView
  10. android:id="@+id/taskTitle"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:text="Aufgabe"
  14. android:textAppearance="?android:attr/textAppearanceLarge" />
  15. <EditText
  16. android:id="@+id/taskTitleUserInput"
  17. android:layout_width="match_parent"
  18. android:layout_height="wrap_content"
  19. android:hint="Titel eingeben!">
  20. <requestFocus />
  21. </EditText>
  22. <TextView
  23. android:id="@+id/taskNotice"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:text="Notizen"
  27. android:textAppearance="?android:attr/textAppearanceLarge" />
  28. <EditText
  29. android:id="@+id/taskNoticeUserInput"
  30. android:layout_width="match_parent"
  31. android:layout_height="149dp"
  32. android:hint="Beschreibung eingeben!"
  33. android:isScrollContainer="true">
  34. <requestFocus />
  35. </EditText>
  36. <Button
  37. android:id="@+id/taskSetLocation"
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content"
  40. android:text="Standort setzen!" />
  41. <TextView
  42. android:id="@+id/taskLocation"
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:gravity="center"
  46. android:textAppearance="?android:attr/textAppearanceLarge" />
  47. <Button
  48. android:id="@+id/taskAddPicture"
  49. android:layout_width="match_parent"
  50. android:layout_height="wrap_content"
  51. android:text="Bild hinzufügen!" />
  52. <androidx.constraintlayout.widget.ConstraintLayout
  53. android:layout_width="match_parent"
  54. android:layout_height="309dp"
  55. android:layout_marginStart="5dp"
  56. android:layout_marginLeft="0dp"
  57. android:layout_marginTop="5dp"
  58. android:layout_marginEnd="5dp"
  59. android:layout_marginRight="5dp"
  60. android:layout_marginBottom="5dp"
  61. android:clickable="false"
  62. android:focusable="false"
  63. android:focusableInTouchMode="false"
  64. android:isScrollContainer="true"
  65. android:orientation="horizontal"
  66. android:visibility="visible"
  67. app:layout_constraintEnd_toEndOf="parent"
  68. app:layout_constraintHorizontal_bias="1.0"
  69. app:layout_constraintStart_toStartOf="parent"
  70. app:layout_constraintTop_toBottomOf="@+id/taskInfoTitle">
  71. <ImageView
  72. android:id="@+id/taskImage"
  73. android:layout_width="100dp"
  74. android:layout_height="200dp"
  75. android:layout_gravity="center"
  76. android:baselineAlignBottom="true"
  77. android:foregroundGravity="center_vertical|center_horizontal"
  78. android:scaleType="fitXY"
  79. app:layout_constraintEnd_toEndOf="parent"
  80. app:layout_constraintStart_toStartOf="parent"
  81. app:layout_constraintTop_toTopOf="parent"
  82. app:srcCompat="@android:drawable/ic_menu_camera" />
  83. </androidx.constraintlayout.widget.ConstraintLayout>
  84. </LinearLayout>