minor fixes
This commit is contained in:
parent
10c6d6a31d
commit
465391bf3b
@ -103,6 +103,7 @@ class MainActivity : AppCompatActivity() {
|
|||||||
if (game > 0) {
|
if (game > 0) {
|
||||||
undo?.isVisible = true
|
undo?.isVisible = true
|
||||||
}
|
}
|
||||||
|
redo?.isVisible = false
|
||||||
}
|
}
|
||||||
|
|
||||||
fun reloadState() {
|
fun reloadState() {
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
<android.support.design.widget.TextInputEditText
|
<android.support.design.widget.TextInputEditText
|
||||||
android:id="@+id/inputLeftPlayerName"
|
android:id="@+id/inputLeftPlayerName"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="150dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:hint="@string/name"
|
android:hint="@string/name"
|
||||||
@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
<android.support.design.widget.TextInputEditText
|
<android.support.design.widget.TextInputEditText
|
||||||
android:id="@+id/inputRightPlayerName"
|
android:id="@+id/inputRightPlayerName"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="150dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
android:hint="@string/name"
|
android:hint="@string/name"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
android:icon="@drawable/ic_undo"
|
android:icon="@drawable/ic_undo"
|
||||||
android:title="@string/undo"
|
android:title="@string/undo"
|
||||||
app:showAsAction="ifRoom"
|
app:showAsAction="ifRoom"
|
||||||
android:enabled="false" />
|
android:visible="false" />
|
||||||
|
|
||||||
<item
|
<item
|
||||||
android:id="@+id/action_redo"
|
android:id="@+id/action_redo"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user