-
Notifications
You must be signed in to change notification settings - Fork 38
/
fragment_b2c_mode.xml
127 lines (110 loc) · 5.21 KB
/
fragment_b2c_mode.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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"
tools:context=".B2CModeFragment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".MultipleAccountModeFragment">
<LinearLayout
android:id="@+id/activity_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
android:paddingBottom="@dimen/activity_vertical_margin">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:weightSum="10">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:text="Signed-in user"
android:textStyle="bold" />
<Spinner
android:id="@+id/user_list"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="7"
android:spinnerMode="dropdown"
tools:ignore="TouchTargetSizeCheck" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:weightSum="10">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="3"
android:text="Policy"
android:textStyle="bold" />
<Spinner
android:id="@+id/policy_list"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="7"
android:spinnerMode="dropdown"
tools:ignore="TouchTargetSizeCheck" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<Button
android:id="@+id/btn_runUserFlow"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
android:enabled="true"
android:text="Run User Flow" />
<Button
android:id="@+id/btn_acquireTokenSilently"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="5"
android:enabled="false"
android:text="Acquire Token Silently" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:weightSum="10">
<Button
android:id="@+id/btn_removeAccount"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="10"
android:enabled="false"
android:gravity="center"
android:text="Sign Out" />
</LinearLayout>
<TextView
android:id="@+id/txt_log"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="20dp"
android:layout_weight="0.8"
android:scrollbars="vertical"
android:scrollHorizontally="false"
android:text="Output goes here..." />
</LinearLayout>
</LinearLayout>
</FrameLayout>