summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_main.xml
blob: 30b029b96aa9ecdb3727352728113c4fa210d4bc (plain)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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/root_layout"
	android:layout_width="match_parent"
	android:layout_height="match_parent">

	<com.google.android.material.appbar.AppBarLayout
		android:id="@+id/appBarLayout2"
		style="@style/Widget.MaterialComponents.AppBarLayout.Primary"
		android:layout_width="0dp"
		android:layout_height="wrap_content"
		android:fitsSystemWindows="true"
		app:layout_constraintEnd_toEndOf="parent"
		app:layout_constraintStart_toStartOf="parent"
		app:layout_constraintTop_toTopOf="parent">

		<com.google.android.material.appbar.MaterialToolbar
			android:id="@+id/topAppBar"
			style="@style/Widget.MaterialComponents.Toolbar.Primary"
			android:layout_width="match_parent"
			android:layout_height="match_parent"
			android:background="@android:color/transparent"
			android:elevation="0dp"
			android:keyboardNavigationCluster="true"
			app:title="bingo 3" />

	</com.google.android.material.appbar.AppBarLayout>

	<LinearLayout
		android:id="@+id/vertical_list"
		android:layout_width="0dp"
		android:layout_height="0dp"
		app:layout_constraintBottom_toBottomOf="parent"
		app:layout_constraintEnd_toEndOf="parent"
		app:layout_constraintStart_toStartOf="parent"
		app:layout_constraintTop_toBottomOf="@+id/appBarLayout2">

		<androidx.constraintlayout.widget.ConstraintLayout
			android:layout_width="match_parent"
			android:layout_height="match_parent">

			<Button
				android:id="@+id/button_orientation_view"
				android:layout_width="0dp"
				android:layout_height="80dp"
				android:layout_marginTop="80dp"
				android:insetLeft="8dp"
				android:insetRight="8dp"
				android:onClick="navigate_orientation"
				android:rotation="-14"
				android:rotationX="-2"
				android:rotationY="-32"
				android:text="oriëntatie"
				android:textSize="34sp"
				app:cornerRadius="0dp"
				app:layout_constraintEnd_toEndOf="parent"
				app:layout_constraintStart_toStartOf="parent"
				app:layout_constraintTop_toTopOf="parent" />

			<Button
				android:id="@+id/button_weather_view"
				android:layout_width="0dp"
				android:layout_height="80dp"
				android:layout_marginTop="32dp"
				android:insetLeft="8dp"
				android:insetRight="8dp"
				android:onClick="navigate_weather"
				android:rotation="-39"
				android:rotationX="51"
				android:rotationY="17"
				android:text="weer"
				android:textSize="34sp"
				app:cornerRadius="0dp"
				app:layout_constraintEnd_toEndOf="parent"
				app:layout_constraintStart_toStartOf="parent"
				app:layout_constraintTop_toBottomOf="@+id/button_orientation_view" />

			<Switch
				android:id="@+id/db_switch"
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				android:rotation="-29"
				android:rotationX="26"
				android:rotationY="26"
				android:scaleX="3"
				android:scaleY="3"
				android:text="aan uit"
				app:layout_constraintBottom_toBottomOf="parent"
				app:layout_constraintEnd_toEndOf="parent"
				app:layout_constraintStart_toStartOf="parent"
				app:layout_constraintTop_toBottomOf="@+id/button_weather_view"
				app:layout_constraintVertical_bias="0.17000002" />

		</androidx.constraintlayout.widget.ConstraintLayout>

	</LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>