diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/activity_highscores.xml | 23 | ||||
-rw-r--r-- | res/layout/activity_menu.xml | 19 | ||||
-rw-r--r-- | res/values/strings.xml | 1 |
3 files changed, 43 insertions, 0 deletions
diff --git a/res/layout/activity_highscores.xml b/res/layout/activity_highscores.xml new file mode 100644 index 0000000..c626d11 --- /dev/null +++ b/res/layout/activity_highscores.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<RelativeLayout 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:paddingBottom="@dimen/activity_vertical_margin" + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + tools:context="org.neocities.autoart.ballbounce.Highscores" + android:id="@+id/highscores_layout"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/highscores_title" + android:textColor="#000000" + android:text="Highscores" + android:layout_centerHorizontal="true" + android:textSize="20sp" + /> + +</RelativeLayout> diff --git a/res/layout/activity_menu.xml b/res/layout/activity_menu.xml index 381b6d7..93cd2bc 100644 --- a/res/layout/activity_menu.xml +++ b/res/layout/activity_menu.xml @@ -9,6 +9,13 @@ android:paddingTop="@dimen/activity_vertical_margin" tools:context="org.neocities.autoart.ballbounce.Menu"> + <ScrollView + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <RelativeLayout + android:layout_width="fill_parent" + android:layout_height="fill_parent"> + <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -90,6 +97,18 @@ android:background="#faf7a0" android:id="@+id/random_mode" /> + <Button + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_below="@id/random_mode" + android:layout_marginTop="20sp" + android:text="@string/highscores" + android:background="#ffd7f0" + android:id="@+id/highscores" + /> + + </RelativeLayout> + </ScrollView> </RelativeLayout> diff --git a/res/values/strings.xml b/res/values/strings.xml index 2c97fc5..567b379 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -8,4 +8,5 @@ <string name="bw_mode">Play black & white mode</string> <string name="flip_mode">Play flip mode</string> <string name="random_mode">Play a random mode!</string> + <string name="highscores">View High scores!</string> </resources> |