-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_main.xml
38 lines (35 loc) · 1.48 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
<?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.wesley.onepointfourmillion.MainActivity">
<Button
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="TAP ME"
android:id="@+id/button"
android:layout_centerVertical="true"
android:layout_centerHorizontal="true"
android:background="#0000"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/imageView1"
android:layout_below="@+id/button"
android:layout_centerHorizontal="true"
android:src="@drawable/lhand"
android:visibility="gone"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/imageView2"
android:layout_below="@+id/button"
android:layout_centerHorizontal="true"
android:src="@drawable/rhand"
android:visibility="gone"/>
</RelativeLayout>