Prev and Next are buttons added.

This commit is contained in:
2013-06-05 13:38:30 +04:00
parent a68b38181d
commit 70e287006f
26 changed files with 737 additions and 255 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
res/drawable-hdpi/next.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

BIN
res/drawable-hdpi/prev.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 942 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 982 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
res/drawable-ldpi/next.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

BIN
res/drawable-ldpi/prev.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 710 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 558 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

After

Width:  |  Height:  |  Size: 520 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
res/drawable-mdpi/next.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

BIN
res/drawable-mdpi/prev.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 698 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 651 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
res/drawable-xhdpi/next.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

BIN
res/drawable-xhdpi/prev.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@@ -4,8 +4,19 @@
android:orientation="horizontal"
android:gravity="center_horizontal"
android:background="#60404040"
android:layout_height="50dp"
android:layout_height="48dp"
android:layout_width="match_parent">
<ImageButton
android:src="@drawable/prev"
android:scaleType="fitCenter"
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_gravity="center_vertical"
android:layout_weight="0"
android:layout_margin="3dp"
android:background="#00000000"
android:onClick="onPrev"
android:id="@+id/prev_btn"/>
<TextView
android:text="Level"
android:layout_width="wrap_content"
@@ -45,5 +56,16 @@
android:background="#00000000"
android:onClick="onReset"
android:id="@+id/reset_btn"/>
<ImageButton
android:src="@drawable/next"
android:scaleType="fitCenter"
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_gravity="center_vertical"
android:layout_weight="0"
android:layout_margin="3dp"
android:background="#00000000"
android:onClick="onNext"
android:id="@+id/next_btn"/>
</LinearLayout>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Free Sokoban</string>
<string name="app_name_debug">Debug Sokoban</string>
<string name="menu">Menu</string>
<string name="play_activity">play_activity</string>
<string name="btn_start_begin">Begin</string>