-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_main.xml
62 lines (56 loc) · 2.22 KB
/
activity_main.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
<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:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity">
<GridLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:layout_alignParentStart="true">
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_column="0"
android:layout_row="0"
android:layout_gravity="fill"
android:id="@+id/imageView" />
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_row="1"
android:layout_column="0"
android:tag="0"
android:text=""
android:id="@+id/button"
android:onClick="celebChosen" />
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_row="2"
android:layout_column="0"
android:tag="1"
android:text=""
android:id="@+id/button2"
android:onClick="celebChosen" />
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_row="3"
android:layout_column="0"
android:tag="2"
android:text=""
android:id="@+id/button3"
android:onClick="celebChosen" />
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_row="4"
android:layout_column="0"
android:tag="3"
android:text=""
android:id="@+id/button4"
android:onClick="celebChosen" />
</GridLayout>
</RelativeLayout>