activity_main.xml
1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?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:background="@color/colorPrimary">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:adjustViewBounds="true"
android:maxWidth="580dp"
android:src="@drawable/noa_bravo" />
<Button
android:id="@+id/button_id_play"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentStart="true"
android:layout_marginStart="130dp"
android:layout_marginTop="160dp"
android:onClick="themePage"
android:padding="50dp"
android:text="@string/play"
android:textAppearance="@style/TextButtonFont" />
<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="130dp"
android:onClick="tutorialPage"
android:padding="50dp"
android:text="@string/tutorial"
android:textAppearance="@style/TextButtonFont" />
<Button
android:id="@+id/button_id_configure"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_margin="20dp"
android:onClick="configurePage"
android:text="@string/configure"
android:textAppearance="@style/TextButtonFont" />
</RelativeLayout>