Prev and Next are buttons added.
BIN
res/drawable-hdpi/icon_debug.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
res/drawable-hdpi/next.png
Normal file
|
After Width: | Height: | Size: 787 B |
BIN
res/drawable-hdpi/prev.png
Normal file
|
After Width: | Height: | Size: 942 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 982 B |
BIN
res/drawable-ldpi/icon_debug.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
res/drawable-ldpi/next.png
Normal file
|
After Width: | Height: | Size: 397 B |
BIN
res/drawable-ldpi/prev.png
Normal file
|
After Width: | Height: | Size: 710 B |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 558 B |
|
Before Width: | Height: | Size: 930 B After Width: | Height: | Size: 520 B |
BIN
res/drawable-mdpi/icon_debug.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
res/drawable-mdpi/next.png
Normal file
|
After Width: | Height: | Size: 496 B |
BIN
res/drawable-mdpi/prev.png
Normal file
|
After Width: | Height: | Size: 692 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 698 B |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 651 B |
BIN
res/drawable-xhdpi/icon_debug.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
res/drawable-xhdpi/next.png
Normal file
|
After Width: | Height: | Size: 802 B |
BIN
res/drawable-xhdpi/prev.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 6.7 KiB |
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||