minor fixes

This commit is contained in:
adrienmalin 2018-08-17 01:59:58 +02:00
parent 10c6d6a31d
commit 465391bf3b
3 changed files with 4 additions and 3 deletions

View File

@ -103,6 +103,7 @@ class MainActivity : AppCompatActivity() {
if (game > 0) {
undo?.isVisible = true
}
redo?.isVisible = false
}
fun reloadState() {

View File

@ -25,7 +25,7 @@
<android.support.design.widget.TextInputEditText
android:id="@+id/inputLeftPlayerName"
android:layout_width="match_parent"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:hint="@string/name"
@ -41,7 +41,7 @@
<android.support.design.widget.TextInputEditText
android:id="@+id/inputRightPlayerName"
android:layout_width="match_parent"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:hint="@string/name"

View File

@ -6,7 +6,7 @@
android:icon="@drawable/ic_undo"
android:title="@string/undo"
app:showAsAction="ifRoom"
android:enabled="false" />
android:visible="false" />
<item
android:id="@+id/action_redo"