Make team names editable

This commit is contained in:
2020-08-21 10:34:39 +02:00
parent 30c030dc5f
commit f458e50e7c
2 changed files with 23 additions and 13 deletions

View File

@@ -22,21 +22,25 @@
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
<EditText
android:id="@+id/NameTeamA"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:autofillHints=""
android:gravity="center"
android:inputType="text"
android:text="@string/team_a"
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
<TextView
<EditText
android:id="@+id/NameTeamB"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:autofillHints=""
android:gravity="center"
android:inputType="text"
android:text="@string/team_b"
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
@@ -85,14 +89,14 @@
android:id="@+id/historyA"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_weight="0.2"
android:gravity="center" />
<TextView
android:id="@+id/historyB"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_weight="0.2"
android:gravity="center" />
</LinearLayout>