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.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. </EditText>
  35. <Button
  36. android:id="@+id/taskSetLocation"
  37. android:layout_width="match_parent"
  38. android:layout_height="wrap_content"
  39. android:text="Standort setzen!" />
  40. <TextView
  41. android:id="@+id/taskLocation"
  42. android:layout_width="match_parent"
  43. android:layout_height="wrap_content"
  44. android:gravity="center"
  45. android:textAppearance="?android:attr/textAppearanceLarge" />
  46. <Button
  47. android:id="@+id/taskAddPicture"
  48. android:layout_width="match_parent"
  49. android:layout_height="wrap_content"
  50. android:text="Bild hinzufügen!" />
  51. <androidx.constraintlayout.widget.ConstraintLayout
  52. android:layout_width="match_parent"
  53. android:layout_height="309dp"
  54. android:layout_marginStart="5dp"
  55. android:layout_marginLeft="0dp"
  56. android:layout_marginTop="5dp"
  57. android:layout_marginEnd="5dp"
  58. android:layout_marginRight="5dp"
  59. android:layout_marginBottom="5dp"
  60. android:clickable="false"
  61. android:focusable="false"
  62. android:focusableInTouchMode="false"
  63. android:isScrollContainer="true"
  64. android:orientation="horizontal"
  65. android:visibility="visible"
  66. app:layout_constraintEnd_toEndOf="parent"
  67. app:layout_constraintHorizontal_bias="1.0"
  68. app:layout_constraintStart_toStartOf="parent"
  69. app:layout_constraintTop_toBottomOf="@+id/taskInfoTitle">
  70. <ImageView
  71. android:id="@+id/taskImage"
  72. android:layout_width="100dp"
  73. android:layout_height="200dp"
  74. android:layout_gravity="center"
  75. android:baselineAlignBottom="true"
  76. android:foregroundGravity="center_vertical|center_horizontal"
  77. android:scaleType="fitXY"
  78. app:layout_constraintEnd_toEndOf="parent"
  79. app:layout_constraintStart_toStartOf="parent"
  80. app:layout_constraintTop_toTopOf="parent"
  81. app:srcCompat="@android:drawable/ic_menu_camera" />
  82. </androidx.constraintlayout.widget.ConstraintLayout>
  83. </LinearLayout>