Skip to content

Commit

Permalink
Finished prototype practice pages
Browse files Browse the repository at this point in the history
  • Loading branch information
iak5171 committed Apr 2, 2014
1 parent ed3d644 commit a428eda
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 6 deletions.
26 changes: 20 additions & 6 deletions res/layout/practice.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_height="match_parent"
android:background="@color/background" >

<Button
android:id="@+id/button2"
Expand All @@ -10,7 +11,7 @@
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="21dp"
android:background="@color/green"
android:text="Back" />

<Button
Expand All @@ -19,6 +20,8 @@
android:layout_height="wrap_content"
android:layout_above="@+id/button2"
android:layout_centerHorizontal="true"
android:layout_marginBottom="19dp"
android:background="@color/green"
android:text="Start" />

<TextView
Expand All @@ -27,8 +30,8 @@
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="19dp"
android:text="Select a game mode"
android:layout_marginTop="63dp"
android:text="Select a practice game mode"
android:textAppearance="?android:attr/textAppearanceMedium" />

<TextView
Expand All @@ -37,7 +40,7 @@
android:layout_height="wrap_content"
android:layout_below="@+id/textView3"
android:layout_centerHorizontal="true"
android:layout_marginTop="23dp"
android:layout_marginTop="41dp"
android:text="Easy Mode"
android:textAppearance="?android:attr/textAppearanceLarge" />

Expand All @@ -50,4 +53,15 @@
android:text="Tables 1 to 6"
android:textAppearance="?android:attr/textAppearanceLarge" />

</RelativeLayout>
<Button
android:id="@+id/button3"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView2"
android:layout_marginTop="57dp"
android:layout_toRightOf="@+id/button1"
android:background="@color/green"
android:text="Next" />

</RelativeLayout>
78 changes: 78 additions & 0 deletions res/layout/practice2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background" >

<Button
android:id="@+id/button2"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:background="@color/green"
android:text="Back" />

<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/button2"
android:layout_centerHorizontal="true"
android:layout_marginBottom="19dp"
android:background="@color/green"
android:text="Start" />

<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="63dp"
android:text="Select a practice game mode"
android:textAppearance="?android:attr/textAppearanceMedium" />

<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView3"
android:layout_centerHorizontal="true"
android:layout_marginTop="41dp"
android:text="Medium Mode"
android:textAppearance="?android:attr/textAppearanceLarge" />

<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView1"
android:layout_centerHorizontal="true"
android:text="Tables 7 to 12"
android:textAppearance="?android:attr/textAppearanceLarge" />

<Button
android:id="@+id/button4"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/button3"
android:layout_alignBottom="@+id/button3"
android:layout_toLeftOf="@+id/button1"
android:background="@color/green"
android:text="Prev" />

<Button
android:id="@+id/button3"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView2"
android:layout_marginTop="57dp"
android:layout_toRightOf="@+id/button1"
android:background="@color/green"
android:text="Next" />

</RelativeLayout>
67 changes: 67 additions & 0 deletions res/layout/practice3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background" >

<Button
android:id="@+id/button2"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:background="@color/green"
android:text="Back" />

<Button
android:id="@+id/button1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/button2"
android:layout_centerHorizontal="true"
android:layout_marginBottom="19dp"
android:background="@color/green"
android:text="Start" />

<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="63dp"
android:text="Select a practice game mode"
android:textAppearance="?android:attr/textAppearanceMedium" />

<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView3"
android:layout_centerHorizontal="true"
android:layout_marginTop="41dp"
android:text="Hard Mode"
android:textAppearance="?android:attr/textAppearanceLarge" />

<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/textView1"
android:layout_centerHorizontal="true"
android:text="Tables 13 to 17"
android:textAppearance="?android:attr/textAppearanceLarge" />

<Button
android:id="@+id/button4"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/textView2"
android:layout_below="@+id/textView2"
android:layout_marginTop="58dp"
android:background="@color/green"
android:text="Prev" />

</RelativeLayout>

0 comments on commit a428eda

Please sign in to comment.