diff options
| author | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
|---|---|---|
| committer | Martial Simon <msimon_fr@hotmail.com> | 2025-09-15 01:07:58 +0200 |
| commit | 967be9e750221ab2ab783f95df79bb26d290a45e (patch) | |
| tree | 6802900a5e975f9f68b169f0f503f040056d6952 /benchmark/app/src/main/res/layout/new_bench_layout.xml | |
Diffstat (limited to 'benchmark/app/src/main/res/layout/new_bench_layout.xml')
| -rw-r--r-- | benchmark/app/src/main/res/layout/new_bench_layout.xml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/benchmark/app/src/main/res/layout/new_bench_layout.xml b/benchmark/app/src/main/res/layout/new_bench_layout.xml new file mode 100644 index 0000000..05d0f25 --- /dev/null +++ b/benchmark/app/src/main/res/layout/new_bench_layout.xml @@ -0,0 +1,44 @@ +<?xml version="1.0" encoding="utf-8"?> +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" + android:layout_height="350dp" + android:layout_marginHorizontal="25dp" + android:background="@drawable/card_bg"> + + <TextView + android:text="@string/new_bench" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:id="@+id/title" + app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toTopOf="@id/editTextTextMultiLine" + app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent"/> + <EditText + android:layout_width="wrap_content" + android:layout_height="200dp" + android:autofillHints="" android:inputType="textMultiLine" + android:gravity="start|top" + android:ems="10" + android:id="@+id/editTextTextMultiLine" + app:layout_constraintTop_toBottomOf="@id/title" app:layout_constraintBottom_toTopOf="@id/ratingBar" + app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" + tools:ignore="LabelFor"/> + <RatingBar + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:id="@+id/ratingBar" + app:layout_constraintTop_toBottomOf="@id/editTextTextMultiLine" + app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent"/> + <Button + android:text="@string/save" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:id="@+id/submit" + android:layout_marginEnd="20dp" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toBottomOf="@id/ratingBar" + app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="@id/cancel"/> + <Button + android:text="@string/cancel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:id="@+id/cancel" + android:layout_marginStart="20dp" + app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintTop_toBottomOf="@id/ratingBar" + app:layout_constraintStart_toStartOf="@id/submit" app:layout_constraintEnd_toEndOf="parent"/> +</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file |
