-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathactivity_main.xml
59 lines (53 loc) · 1.75 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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".MainActivity"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<FrameLayout
android:id="@+id/flMain"
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<TextView
android:id="@+id/tvMain"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!"
android:onClick="onClickHello"
android:layout_margin="6dp"
android:layout_centerInParent="true"
/>
<Button
android:id="@+id/tvUnit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="onClickUnit"
android:text="UnitAutoActivity"
android:textAllCaps="false"
android:layout_below="@id/tvMain"
android:layout_centerHorizontal="true"
/>
<Button
android:id="@+id/tvInit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="onClickInit"
android:text="Init SDK"
android:textAllCaps="false"
android:layout_below="@id/tvUnit"
android:layout_centerHorizontal="true"
/>
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:onClick="onClickPay"
android:text="Start Pay"
android:textAllCaps="false"
android:layout_below="@id/tvInit"
android:layout_centerHorizontal="true"
/>
</RelativeLayout>