|
|
|
@ -6,4 +6,126 @@
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
tools:context="eu.smoser.epv.ResultActivity">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textView"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:width="@dimen/fixed"
|
|
|
|
|
android:padding="@dimen/result_padding"
|
|
|
|
|
android:text="@string/pn"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/textView3"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textView3"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:width="@dimen/fixed"
|
|
|
|
|
android:labelFor="@id/editTextNumberSigned"
|
|
|
|
|
android:padding="@dimen/result_padding"
|
|
|
|
|
android:text="@string/ps"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/buttonSave"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textView" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/editTextNumberSigned"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:width="@dimen/fixed"
|
|
|
|
|
android:ems="10"
|
|
|
|
|
android:inputType="numberSigned"
|
|
|
|
|
android:padding="@dimen/result_padding"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/buttonCancel"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/textView3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textViewId"
|
|
|
|
|
android:text="@string/_0"
|
|
|
|
|
android:importantForAutofill="no" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/textViewId"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:width="@dimen/fixed"
|
|
|
|
|
android:padding="@dimen/result_padding"
|
|
|
|
|
android:text=""
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/editTextNumberSigned"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/textView"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/buttonSave"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:height="@dimen/result_padding"
|
|
|
|
|
android:backgroundTint="@color/colorAccentGreen"
|
|
|
|
|
android:text="@string/speichern"
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/buttonCancel"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/textView3" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/buttonCancel"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:height="@dimen/result_padding"
|
|
|
|
|
android:background="@color/colorAccentRed"
|
|
|
|
|
android:text="@string/abbrechen"
|
|
|
|
|
android:textAllCaps="false"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/buttonSave"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editTextNumberSigned" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/buttonPlus"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:width="@dimen/fixed_third"
|
|
|
|
|
android:backgroundTint="@color/colorAccentYellow"
|
|
|
|
|
android:text="@string/plus"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/buttonCancel"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/editTextNumber"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editTextNumberSigned"
|
|
|
|
|
app:layout_constraintVertical_bias="0.25" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/buttonMinus"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:width="@dimen/fixed_third"
|
|
|
|
|
android:backgroundTint="@color/colorAccentYellow"
|
|
|
|
|
android:text="@string/minus"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/buttonSave"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/editTextNumber"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/textView3"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editTextNumberSigned"
|
|
|
|
|
app:layout_constraintVertical_bias="0.25" />
|
|
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
|
android:id="@+id/editTextNumber"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:width="@dimen/fixed_third"
|
|
|
|
|
android:ems="10"
|
|
|
|
|
android:importantForAutofill="no"
|
|
|
|
|
android:inputType="number"
|
|
|
|
|
android:text="@string/_10"
|
|
|
|
|
android:textAlignment="center"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
app:layout_constraintBottom_toTopOf="@+id/buttonCancel"
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/buttonPlus"
|
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/buttonMinus"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/editTextNumberSigned"
|
|
|
|
|
app:layout_constraintVertical_bias="0.25" />
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|