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.

area_element.xml 5.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.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:id="@+id/areaElement"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. android:clickable="true"
  9. android:focusable="true"
  10. android:focusableInTouchMode="true"
  11. android:longClickable="true"
  12. android:orientation="horizontal">
  13. <TextView
  14. android:id="@+id/areaInfoTitle"
  15. android:layout_width="375dp"
  16. android:layout_height="32dp"
  17. android:layout_gravity="left"
  18. android:layout_marginStart="5dp"
  19. android:layout_marginLeft="5dp"
  20. android:layout_marginTop="5dp"
  21. android:clickable="false"
  22. android:duplicateParentState="true"
  23. android:focusable="false"
  24. android:textColor="@android:color/primary_text_light"
  25. android:textSize="22sp"
  26. android:textStyle="bold"
  27. app:layout_constraintStart_toStartOf="parent"
  28. app:layout_constraintTop_toTopOf="parent" />
  29. <ImageView
  30. android:id="@+id/areaManageArea"
  31. android:layout_width="0dp"
  32. android:layout_height="wrap_content"
  33. android:layout_marginTop="5dp"
  34. android:layout_marginEnd="5dp"
  35. android:layout_marginRight="5dp"
  36. android:clickable="true"
  37. android:duplicateParentState="true"
  38. android:focusable="false"
  39. android:focusableInTouchMode="false"
  40. android:src="@android:drawable/ic_menu_manage"
  41. android:visibility="visible"
  42. app:layout_constraintBottom_toTopOf="@+id/areaInfoView"
  43. app:layout_constraintEnd_toEndOf="parent"
  44. app:layout_constraintHorizontal_bias="0.0"
  45. app:layout_constraintStart_toEndOf="@+id/areaInfoTitle"
  46. app:layout_constraintTop_toTopOf="parent" />
  47. <androidx.constraintlayout.widget.ConstraintLayout
  48. android:id="@+id/areaInfoView"
  49. android:layout_width="0dp"
  50. android:layout_height="wrap_content"
  51. android:layout_marginStart="5dp"
  52. android:layout_marginLeft="5dp"
  53. android:layout_marginEnd="5dp"
  54. android:layout_marginRight="5dp"
  55. android:clickable="false"
  56. android:focusable="false"
  57. android:focusableInTouchMode="false"
  58. android:orientation="horizontal"
  59. android:visibility="visible"
  60. app:layout_constraintEnd_toEndOf="parent"
  61. app:layout_constraintHorizontal_bias="1.0"
  62. app:layout_constraintStart_toStartOf="parent"
  63. app:layout_constraintTop_toBottomOf="@+id/areaInfoTitle"
  64. tools:visibility="visible"
  65. android:duplicateParentState="true">
  66. <ImageView
  67. android:id="@+id/areaIcon"
  68. android:layout_width="150dp"
  69. android:layout_height="150dp"
  70. android:layout_marginBottom="5dp"
  71. android:clickable="true"
  72. android:focusable="false"
  73. android:focusableInTouchMode="false"
  74. android:src="@android:drawable/ic_menu_camera"
  75. android:visibility="visible"
  76. app:layout_constraintBottom_toBottomOf="parent"
  77. app:layout_constraintEnd_toEndOf="parent"
  78. app:layout_constraintTop_toTopOf="parent"
  79. app:srcCompat="@android:drawable/ic_menu_camera"
  80. android:duplicateParentState="true"/>
  81. <TextView
  82. android:id="@+id/areaInfoNotice"
  83. android:layout_width="0dp"
  84. android:layout_height="0dp"
  85. android:layout_gravity="left"
  86. android:clickable="false"
  87. android:duplicateParentState="true"
  88. android:focusable="false"
  89. android:focusableInTouchMode="false"
  90. android:textColor="@android:color/primary_text_light"
  91. android:textSize="12sp"
  92. android:visibility="visible"
  93. app:layout_constraintBottom_toTopOf="@+id/areaInfoArea"
  94. app:layout_constraintEnd_toStartOf="@+id/areaIcon"
  95. app:layout_constraintStart_toStartOf="parent"
  96. app:layout_constraintTop_toTopOf="parent" />
  97. <TextView
  98. android:id="@+id/areaInfoAreatv"
  99. android:layout_width="0dp"
  100. android:layout_height="20dp"
  101. android:layout_gravity="left"
  102. android:layout_marginBottom="5dp"
  103. android:clickable="false"
  104. android:duplicateParentState="true"
  105. android:focusable="false"
  106. android:focusableInTouchMode="false"
  107. android:text="Fläche:"
  108. android:textColor="@android:color/primary_text_light"
  109. android:textSize="14sp"
  110. android:visibility="visible"
  111. app:layout_constraintBottom_toBottomOf="parent"
  112. app:layout_constraintStart_toStartOf="parent" />
  113. <TextView
  114. android:id="@+id/areaInfoArea"
  115. android:layout_width="0dp"
  116. android:layout_height="0dp"
  117. android:layout_gravity="left"
  118. android:layout_marginStart="5dp"
  119. android:layout_marginLeft="5dp"
  120. android:layout_marginBottom="5dp"
  121. android:clickable="false"
  122. android:duplicateParentState="true"
  123. android:focusable="false"
  124. android:focusableInTouchMode="false"
  125. android:textColor="@android:color/primary_text_light"
  126. android:textSize="14sp"
  127. android:visibility="visible"
  128. app:layout_constraintBottom_toBottomOf="parent"
  129. app:layout_constraintEnd_toStartOf="@+id/areaIcon"
  130. app:layout_constraintStart_toEndOf="@+id/areaInfoAreatv"
  131. app:layout_constraintTop_toTopOf="@+id/areaInfoAreatv" />
  132. </androidx.constraintlayout.widget.ConstraintLayout>
  133. </androidx.constraintlayout.widget.ConstraintLayout>