Imrpoved undo
Before Width: | Height: | Size: 383 B |
Before Width: | Height: | Size: 798 B |
Before Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 490 B |
Before Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 678 B |
Before Width: | Height: | Size: 1.7 KiB |
|
@ -1,6 +1,8 @@
|
|||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
|
@ -22,11 +24,11 @@
|
|||
android:onClick="onNewClick" />
|
||||
|
||||
<Button
|
||||
android:layout_width="match_parent"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/load_character"
|
||||
android:id="@+id/loadCharacter"
|
||||
android:onClick="onLoadClick"
|
||||
android:layout_marginTop="10dp" />
|
||||
android:onClick="onLoadClick" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools" tools:context=".MainActivity">
|
||||
<!--TODO: create fancy responsive toasts-->
|
||||
<!--TODO: create fancy responsive toasts for undo's-->
|
||||
<item
|
||||
android:id="@+id/action_undo"
|
||||
android:title="@string/action_undo"
|
||||
android:orderInCategory="1"
|
||||
app:showAsAction="never"
|
||||
app:showAsAction="ifRoom"
|
||||
android:icon="@drawable/ic_action_undo"/>
|
||||
<item
|
||||
android:id="@+id/action_cure"
|
||||
|
|