activity_main.xml 1.38 KB
<?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:orientation="vertical">

    <Button
        android:id="@+id/button_id_play"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentStart="true"
        android:layout_centerVertical="true"
        android:layout_marginStart="50dp"
        android:onClick="themePage"
        android:text="@string/play" />

    <Button
        android:id="@+id/button_id_tutorial"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignBaseline="@+id/button_id_play"
        android:layout_alignBottom="@+id/button_id_play"
        android:layout_alignParentEnd="true"
        android:layout_marginEnd="50dp"
        android:onClick="tutorialPage"
        android:text="@string/tutorial" />

    <Button
        android:id="@+id/button_id_configure"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignEnd="@+id/button_id_play"
        android:layout_alignParentBottom="true"
        android:layout_marginBottom="20dp"
        android:onClick="configurePage"
        android:text="@string/configure" />

</RelativeLayout>