Make team names editable
This commit is contained in:
@@ -22,21 +22,25 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<TextView
|
<EditText
|
||||||
android:id="@+id/NameTeamA"
|
android:id="@+id/NameTeamA"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:autofillHints=""
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:inputType="text"
|
||||||
android:text="@string/team_a"
|
android:text="@string/team_a"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
|
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
|
||||||
|
|
||||||
<TextView
|
<EditText
|
||||||
android:id="@+id/NameTeamB"
|
android:id="@+id/NameTeamB"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:autofillHints=""
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:inputType="text"
|
||||||
android:text="@string/team_b"
|
android:text="@string/team_b"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
|
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
|
||||||
|
|
||||||
@@ -85,14 +89,14 @@
|
|||||||
android:id="@+id/historyA"
|
android:id="@+id/historyA"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="0.2"
|
||||||
android:gravity="center" />
|
android:gravity="center" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/historyB"
|
android:id="@+id/historyB"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="0.2"
|
||||||
android:gravity="center" />
|
android:gravity="center" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -13,21 +13,25 @@
|
|||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
app:layout_constraintTop_toTopOf="parent">
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
|
|
||||||
<TextView
|
<EditText
|
||||||
android:id="@+id/NameTeamA"
|
android:id="@+id/NameTeamA"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:autofillHints=""
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:inputType="text"
|
||||||
android:text="@string/team_a"
|
android:text="@string/team_a"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
|
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
|
||||||
|
|
||||||
<TextView
|
<EditText
|
||||||
android:id="@+id/NameTeamB"
|
android:id="@+id/NameTeamB"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:autofillHints=""
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
|
android:inputType="text"
|
||||||
android:text="@string/team_b"
|
android:text="@string/team_b"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
|
android:textAppearance="@style/TextAppearance.AppCompat.Display1" />
|
||||||
|
|
||||||
@@ -84,21 +88,23 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/historyA"
|
android:id="@+id/historyA"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="0.2"
|
||||||
android:gravity="center" />
|
android:gravity="center" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/historyB"
|
android:id="@+id/historyB"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="0.2"
|
||||||
android:gravity="center" />
|
android:gravity="center" />
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:id="@+id/divider6"
|
android:id="@+id/divider6"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
|||||||
Reference in New Issue
Block a user