diff options
author | Camil Staps | 2015-04-29 12:01:02 +0200 |
---|---|---|
committer | Camil Staps | 2015-04-29 12:01:02 +0200 |
commit | 0db3c33807a66e84aa2febfc1fc28c2203626ef3 (patch) | |
tree | ced7f71f8d5b27bbade6ef4d0e835d6a079be542 /app/src/main/res/layout/activity_main.xml | |
parent | Highscores (diff) |
Highscores activity
Diffstat (limited to 'app/src/main/res/layout/activity_main.xml')
-rw-r--r-- | app/src/main/res/layout/activity_main.xml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 8dcf3c0..c85e517 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -1,10 +1,13 @@ -<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:paddingLeft="@dimen/activity_horizontal_margin" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + tools:context="com.camilstaps.rushhour.MainActivity" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin" - tools:context="com.camilstaps.rushhour.MainActivity"> + android:orientation="horizontal"> <Button android:layout_width="wrap_content" @@ -13,4 +16,11 @@ android:text="@string/action_start" android:onClick="onClickHandler"/> -</RelativeLayout> + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/action_highscores" + android:text="@string/action_highscores" + android:onClick="onClickHandler"/> + +</LinearLayout> |