-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_main_page.xml
89 lines (80 loc) · 3.38 KB
/
activity_main_page.xml
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
<?xml version="1.0" encoding="utf-8"?>
<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: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.example.tlee1.petmanager.MainPage"
android:background="#fbe9d1">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Pet Fitness"
android:id="@+id/buttonFitness"
android:onClick="OnClickListener"
android:layout_alignTop="@+id/buttonPet"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
/>
<!-- <Spinner
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:id="@+id/spinner"
android:layout_marginTop="130dp"
android:spinnerMode="dropdown"
android:entries="@array/pet_names"
android:layout_below="@+id/buttonFitness"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true" />-->
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Pet Info"
android:id="@+id/buttonPet"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="Which one shall we choose?"
android:id="@+id/textView"
android:layout_above="@+id/textView2"
android:layout_centerHorizontal="true"
android:layout_marginBottom="32dp"
android:textColor="#149636"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="Just ask your pet for the answer"
android:id="@+id/textView2"
android:layout_above="@+id/textView3"
android:layout_centerHorizontal="true"
android:layout_marginBottom="29dp"
android:textColor="#149636"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceLarge"
android:text="They know everything"
android:id="@+id/textView3"
android:layout_above="@+id/buttonFitness"
android:layout_centerHorizontal="true"
android:layout_marginBottom="26dp"
android:textColor="#149636"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/imageViewMain"
android:src="@drawable/funnydog"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_above="@+id/textView"
android:layout_centerHorizontal="true" />
</RelativeLayout>