Created GameListActivity to display a list of games.

Set GameListActivity as the main Activity.

Fixed ExaltedDice save instance state methods to restore the picker
values.

Sorted all classes
Change-Id: I6a8a724d831a977aeaff8816c5506246398617b7
This commit is contained in:
2012-02-04 02:34:10 -05:00
parent 157fd5f22d
commit 03d5bc1a77
6 changed files with 319 additions and 110 deletions

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<Button
android:id="@+id/new_game_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:background="@android:drawable/ic_menu_add" />
<ListView
android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@id/new_game_button" />
<TextView
android:id="@android:id/empty"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="@string/empty_msg"
android:textAppearance="?android:attr/textAppearanceLarge" />
</RelativeLayout>