|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 |
| -<androidx.constraintlayout.widget.ConstraintLayout |
3 |
| - xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
4 | 3 | xmlns:app="http://schemas.android.com/apk/res-auto"
|
5 | 4 | xmlns:tools="http://schemas.android.com/tools"
|
6 | 5 | android:layout_width="match_parent"
|
|
12 | 11 | android:layout_width="match_parent"
|
13 | 12 | android:layout_height="0dp"
|
14 | 13 | app:layout_constraintDimensionRatio="1:1"
|
15 |
| - app:layout_constraintTop_toTopOf="parent"/> |
| 14 | + app:layout_constraintTop_toTopOf="parent" /> |
16 | 15 |
|
17 | 16 | <TextView
|
18 | 17 | android:id="@+id/predicted_text"
|
19 |
| - android:textStyle="bold" |
20 | 18 | android:layout_width="wrap_content"
|
21 | 19 | android:layout_height="wrap_content"
|
22 | 20 | android:text="@string/prediction_text_placeholder"
|
23 | 21 | android:textSize="20sp"
|
| 22 | + android:textStyle="bold" |
24 | 23 | app:layout_constraintBottom_toTopOf="@id/clear_button"
|
25 | 24 | app:layout_constraintLeft_toLeftOf="parent"
|
26 | 25 | app:layout_constraintRight_toRightOf="parent"
|
27 |
| - app:layout_constraintTop_toBottomOf="@id/draw_view"/> |
| 26 | + app:layout_constraintTop_toBottomOf="@id/draw_view" /> |
28 | 27 |
|
29 | 28 | <Button
|
30 | 29 | android:id="@+id/clear_button"
|
|
33 | 32 | android:text="@string/clear_button_text"
|
34 | 33 | app:layout_constraintBottom_toBottomOf="parent"
|
35 | 34 | app:layout_constraintLeft_toLeftOf="parent"
|
36 |
| - app:layout_constraintRight_toRightOf="parent"/> |
| 35 | + app:layout_constraintRight_toRightOf="parent" /> |
| 36 | + |
| 37 | + <Button |
| 38 | + android:id="@+id/init_model" |
| 39 | + android:layout_width="wrap_content" |
| 40 | + android:layout_height="wrap_content" |
| 41 | + android:text="init_model" |
| 42 | + app:layout_constraintBottom_toBottomOf="parent" |
| 43 | + app:layout_constraintLeft_toLeftOf="parent" |
| 44 | + app:layout_constraintStart_toEndOf="@id/clear_button" /> |
37 | 45 |
|
38 | 46 | </androidx.constraintlayout.widget.ConstraintLayout>
|
0 commit comments