summaryrefslogtreecommitdiff
path: root/res/layout/activity_menu.xml
diff options
context:
space:
mode:
authorpommicket <leonardomtenenbaum@gmail.com>2016-06-21 12:19:57 -0400
committerpommicket <leonardomtenenbaum@gmail.com>2016-06-21 12:20:21 -0400
commit7a28b12741c6215b393801c2cad049dd12cb35bd (patch)
treeeaf082c7aa6e05d109922a8b20a6964a1a09a547 /res/layout/activity_menu.xml
parent45319ea149e7b41248ad8d5de89eda1bf4c92a40 (diff)
Added high scores and made gravity dependent on resolution
Diffstat (limited to 'res/layout/activity_menu.xml')
-rw-r--r--res/layout/activity_menu.xml19
1 files changed, 19 insertions, 0 deletions
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>