blob: bf418bc0d117253287f62025127c4c27eb36a60c (
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
|
<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_height="match_parent"
android:layout_width="match_parent"
android:background="@color/colorBackground"
tools:context=".base.fragments.NavigationDrawerFragment"
android:clickable="true"
android:focusable="true"
android:fillViewport="true"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="150dp">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/background"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:adjustViewBounds="false"
android:cropToPadding="false"
android:scaleType="fitXY"
app:srcCompat="@drawable/background_drawer" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/foreground"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="centerInside"
app:srcCompat="@drawable/drawer_logo" />
</FrameLayout>
<se.leap.bitmaskclient.base.views.IconTextEntry
android:id="@+id/account"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
/>
<se.leap.bitmaskclient.base.views.IconTextEntry
android:id="@+id/switch_provider"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
app:text="@string/switch_provider_menu_option"
app:icon="@drawable/ic_switch_provider_36"
android:visibility="gone"
tools:visibility="visible"
/>
<View
android:layout_width="match_parent"
android:layout_height="20dp"
android:background="@color/black800_high_transparent"
/>
<se.leap.bitmaskclient.base.views.IconSwitchEntry
android:id="@+id/battery_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:text="@string/save_battery"
app:subtitle="@string/subtitle_save_battery"
app:icon="@drawable/ic_battery_36"
/>
<se.leap.bitmaskclient.base.views.IconTextEntry
android:id="@+id/manualGatewaySelection"
app:text="@string/gateway_selection_title"
app:subtitle="@string/gateway_selection_recommended_location"
app:icon="@drawable/ic_web"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:visibility="visible"
/>
<se.leap.bitmaskclient.base.views.IconTextEntry
android:id="@+id/advancedSettings"
app:icon="@drawable/ic_cog"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
app:text="@string/advanced_settings"
/>
<View
android:layout_width="match_parent"
android:layout_height="20dp"
android:background="@color/black800_high_transparent"
/>
<se.leap.bitmaskclient.base.views.IconTextEntry
android:id="@+id/donate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:text="@string/donate_title"
app:icon="@drawable/ic_donate_36"
android:visibility="gone"
/>
<se.leap.bitmaskclient.base.views.IconTextEntry
android:id="@+id/log"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:text="@string/log_fragment_title"
app:icon="@drawable/ic_log_36"
/>
<se.leap.bitmaskclient.base.views.IconTextEntry
android:id="@+id/about"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:text="@string/about_fragment_title"
app:icon="@drawable/ic_about_36"
/>
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:background="@color/black800_high_transparent"
android:layout_weight="1"
/>
</LinearLayout>
</ScrollView>
|