blob: 558fde018e7d94daafe7545884ce69dad5edead8 (
plain) (
blame)
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
|
<?xml version="1.0" encoding="utf-8"?>
<layout>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:mapbox="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:background="@color/white"
android:layout_height="match_parent"
android:layout_width="match_parent"
>
<include layout="@layout/topbar" />
<androidx.core.widget.NestedScrollView
android:layout_height="match_parent"
android:layout_width="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
>
<LinearLayout
android:layout_height="match_parent"
android:padding="16dp"
android:layout_width="match_parent"
android:orientation="vertical"
tools:context=".main.MainActivity"
>
<TextView
android:id="@+id/fake_location_info"
android:layout_gravity="center_horizontal"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="@string/location_info"
android:lineSpacingExtra="5sp"
/>
<RadioGroup
android:id="@+id/location_choices"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_marginTop="16dp"
>
<foundation.e.privacycentralapp.common.RightRadioButton
android:id="@+id/radio_use_real_location"
android:layout_height="52dp"
android:layout_width="match_parent"
android:text="@string/location_use_real_location"
android:textSize="14sp"
/>
<foundation.e.privacycentralapp.common.RightRadioButton
android:id="@+id/radio_use_random_location"
android:layout_height="52dp"
android:layout_width="match_parent"
android:text="@string/location_use_random_location"
android:textSize="14sp"
/>
<foundation.e.privacycentralapp.common.RightRadioButton
android:id="@+id/radio_use_specific_location"
android:layout_height="52dp"
android:layout_width="match_parent"
android:text="@string/location_use_specific_location"
android:textSize="14sp"
/>
</RadioGroup>
<foundation.e.privacycentralapp.features.location.FakeLocationMapView
android:id="@+id/mapView"
android:layout_height="220dp"
android:layout_marginTop="16dp"
android:layout_width="match_parent"
mapbox:mapbox_cameraZoom="8"
/>
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:hint="@string/location_hint_longitude"
android:id="@+id/textlayout_longitude"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_marginTop="16dp"
app:endIconDrawable="@drawable/ic_valid"
app:endIconMode="custom"
app:endIconTint="@color/green_valid"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edittext_longitude"
android:inputType="numberDecimal"
android:layout_height="wrap_content"
android:layout_width="match_parent"
/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
android:id="@+id/textlayout_latitude"
android:hint="@string/location_hint_latitude"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:layout_marginTop="16dp"
app:endIconDrawable="@drawable/ic_valid"
app:endIconMode="custom"
app:endIconTint="@color/green_valid"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/edittext_latitude"
android:inputType="numberDecimal"
android:layout_height="wrap_content"
android:layout_width="match_parent"
/>
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</layout>
|