emotionhero/app/src/main/res/layout/activity_menu.xml

58 lines
2.2 KiB
XML
Raw Normal View History

2016-08-22 14:47:35 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_menu"
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="com.rubenvandeven.emotionhero.MenuActivity">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/logoEmotionHero"
android:layout_centerHorizontal="true"
android:layout_marginTop="19dp">
<Button
2016-08-22 15:07:56 +00:00
android:text="@string/start"
2016-08-22 14:47:35 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/startButton"
android:fontFamily="sans-serif" />
<Button
android:text="@string/continueBtn"
2016-08-22 14:47:35 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/continueButton"
android:fontFamily="sans-serif" />
<Button
2016-08-22 15:07:56 +00:00
android:text="@string/highscores"
2016-08-22 14:47:35 +00:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/highscoresButton"
android:fontFamily="sans-serif" />
</LinearLayout>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:srcCompat="@drawable/emotionhero_logo"
android:id="@+id/logoEmotionHero"
android:cropToPadding="false"
android:adjustViewBounds="true"
android:layout_marginTop="58dp"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
2016-08-22 15:07:56 +00:00
android:layout_alignParentStart="true"
android:contentDescription="@string/app_name" />
2016-08-22 14:47:35 +00:00
</RelativeLayout>