blob: 8ec7e7c03afe263e33cd850a7a536e33007a3e54 (
plain)
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
127
128
129
|
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/stdpadding"
android:layout_margin="@dimen/activity_margin"
tools:context=".providersetup.fragments.ProviderSelectionFragment">
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_margin="@dimen/activity_margin"
>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_welcome"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:text="@string/welcome"
android:layout_alignParentTop="true"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_choose_provider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.AppCompat.Title"
android:text="@string/select_provider"
android:paddingBottom="@dimen/stdpadding"
/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tv_provider_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:text="@string/select_provider_description"/>
<androidx.cardview.widget.CardView
android:id="@+id/cv_provider_selection_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:cardElevation="2dp"
app:cardUseCompatPadding="true"
app:cardCornerRadius="12dp"
android:layout_marginTop="40dp"
>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:background="@color/colorPrimary_transparent"
android:padding="@dimen/activity_horizontal_margin"
>
<RadioGroup
android:id="@+id/provider_radioGroup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
</RadioGroup>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.cardview.widget.CardView>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/activity_margin"
android:paddingBottom="@dimen/list_view_margin_top"
android:background="@color/color_provider_description_background"
android:id="@+id/expandable_detail_container">
<androidx.appcompat.widget.AppCompatTextView
android:paddingTop="@dimen/stdpadding"
android:id="@+id/provider_description"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="@string/provider_description_riseup"/>
<androidx.appcompat.widget.AppCompatEditText
android:id="@+id/edit_customProvider"
android:layout_marginVertical="@dimen/stdpadding"
android:paddingHorizontal="@dimen/stdpadding"
android:paddingVertical="@dimen/compact_padding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
tools:hint="https://example.org"
android:imeOptions="actionDone"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textColorHint="@color/black800_transparent"
/>
<LinearLayout
android:id="@+id/syntax_check"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<androidx.appcompat.widget.AppCompatTextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/syntax_check"/>
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/syntax_check_result"
android:paddingStart="@dimen/stdpadding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:text="Good"/>
</LinearLayout>
<LinearLayout
android:id="@+id/qr_scanner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingVertical="@dimen/stdpadding"
android:orientation="horizontal">
<androidx.appcompat.widget.AppCompatButton
android:id="@+id/btn_qr_scanner"
android:padding="@dimen/stdpadding"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableStart="@drawable/qr_code_scanner"
android:text="@string/qr_scanner_prompt"
android:background="?attr/selectableItemBackground"
android:gravity="center_vertical"/>
</LinearLayout>
</androidx.appcompat.widget.LinearLayoutCompat>
</androidx.appcompat.widget.LinearLayoutCompat>
</ScrollView>
|