minor fixes
This commit is contained in:
		| @ -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" | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user