-
Notifications
You must be signed in to change notification settings - Fork 216
/
options_developer.xml
96 lines (82 loc) · 4.6 KB
/
options_developer.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
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/dialog_background"
android:paddingStart="30dp"
android:paddingEnd="30dp">
<org.mozilla.vrbrowser.ui.widgets.settings.SettingsHeader
android:id="@+id/header_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:helpVisibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:title="@string/settings_developer_options" />
<!-- ScrollView doesn't support fast scrollbar so we need to use a custom implementation -->
<org.mozilla.vrbrowser.ui.views.CustomScrollView
android:id="@+id/scrollbar"
style="@style/customScrollViewStyle"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
app:layout_constraintBottom_toTopOf="@id/footer_layout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/header_layout">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<org.mozilla.vrbrowser.ui.views.settings.SwitchSetting
android:id="@+id/remote_debugging_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:description="@string/developer_options_remote_debugging" />
<org.mozilla.vrbrowser.ui.views.settings.SwitchSetting
android:id="@+id/performance_monitor_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:description="@string/developer_options_performance_monitor" />
<org.mozilla.vrbrowser.ui.views.settings.SwitchSetting
android:id="@+id/debug_logging_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:description="@string/developer_options_debug_logging" />
<org.mozilla.vrbrowser.ui.views.settings.SwitchSetting
android:id="@+id/hardware_acceleration_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:description="@string/hardware_acceleration_switch" />
<org.mozilla.vrbrowser.ui.views.settings.SwitchSetting
android:id="@+id/bypass_cache_on_reload_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:description="@string/bypass_cache_on_reload_switch" />
<org.mozilla.vrbrowser.ui.views.settings.SwitchSetting
android:id="@+id/multi_e10s_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:description="@string/multi_e10s_switch" />
<org.mozilla.vrbrowser.ui.views.settings.SwitchSetting
android:id="@+id/servo_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:description="@string/developer_options_servo" />
</LinearLayout>
</org.mozilla.vrbrowser.ui.views.CustomScrollView>
<org.mozilla.vrbrowser.ui.widgets.settings.SettingsFooter
android:id="@+id/footer_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:description="@string/developer_options_reset"
app:buttonText="@string/developer_options_reset_button"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>