|
|
@@ -15,6 +15,88 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/buttonChooseDate"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:text="@string/choose_date"
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/buttonChooseTime"
|
|
|
+ app:layout_constraintHorizontal_bias="0.5"
|
|
|
+ app:layout_constraintHorizontal_chainStyle="spread"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <com.google.android.material.button.MaterialButton
|
|
|
+ android:id="@+id/buttonChooseTime"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:text="@string/choose_time"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintHorizontal_bias="0.5"
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/buttonChooseDate"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tvMeasureAddedDate"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:text="пн, 30 нояб. 2020 22:11:29"
|
|
|
+ android:textAlignment="center"
|
|
|
+ android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/buttonChooseDate" />
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:id="@+id/tilMeasureValue"
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tvMeasureAddedDate">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:inputType="numberDecimal"
|
|
|
+ android:singleLine="true" />
|
|
|
+
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputLayout
|
|
|
+ android:id="@+id/tilComment"
|
|
|
+ style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
+ android:layout_marginTop="32dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ app:endIconMode="clear_text"
|
|
|
+ android:hint="@string/ivMeasureComment"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tilMeasureValue">
|
|
|
+
|
|
|
+ <com.google.android.material.textfield.TextInputEditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:inputType="textMultiLine" />
|
|
|
+
|
|
|
+ </com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|