-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathactivity_embedded_message_test.xml
More file actions
75 lines (65 loc) · 2.72 KB
/
Copy pathactivity_embedded_message_test.xml
File metadata and controls
75 lines (65 loc) · 2.72 KB
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
<?xml version="1.0" encoding="utf-8"?>
<ScrollView 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">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Embedded Message Tests"
android:textSize="24sp"
android:textStyle="bold"
android:layout_marginBottom="16dp"
android:gravity="center"
android:layout_gravity="center" />
<android.widget.Button
android:id="@+id/btnCheckIsPremium"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Check Membership Level"
android:layout_marginBottom="8dp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_marginBottom="8dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Premium Member:"
android:textSize="16sp" />
<android.widget.Switch
android:id="@+id/switchIsPremium"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<android.widget.Button
android:id="@+id/btnSyncMessages"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Sync Embedded Messages"
android:layout_marginBottom="16dp" />
<TextView
android:id="@+id/status_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Status: Ready"
android:textSize="14sp"
android:padding="8dp"
android:background="#F0F0F0"
android:layout_marginBottom="16dp" />
<androidx.fragment.app.FragmentContainerView
android:id="@+id/embedded_message_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="16dp"
tools:layout="@layout/banner_view" />
</LinearLayout>
</ScrollView>