-
Notifications
You must be signed in to change notification settings - Fork 6.6k
/
privacy_guide_msbb_step.xml
86 lines (72 loc) · 3.76 KB
/
privacy_guide_msbb_step.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
<?xml version="1.0" encoding="utf-8"?><!--
Copyright 2021 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/msbb_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/msbb_main_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
android:gravity="center_horizontal"
android:orientation="vertical">
<ImageView
android:id="@+id/image"
android:layout_marginHorizontal="@dimen/standard_illustration_marginHorizontal"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:maxHeight="@dimen/illustration_maxHeight"
android:adjustViewBounds="true"
android:src="@drawable/privacy_guide_msbb_image"
android:importantForAccessibility="no" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/msbb_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="@dimen/all_content_marginHorizontal"
android:showText="false"
android:text="@string/url_keyed_anonymized_data_title"
android:textAppearance="@style/TextAppearance.TextLarge.Primary"
android:foreground="?attr/selectableItemBackground"
android:background="@null" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/all_content_marginHorizontal"
android:orientation="vertical">
<org.chromium.chrome.browser.privacy_guide.PrivacyGuideExplanationHeading
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:titleText="@string/privacy_guide_when_on" />
<org.chromium.chrome.browser.privacy_guide.PrivacyGuideExplanationItem
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:iconImage="@drawable/ic_flash_on_24dp"
app:summaryText="@string/privacy_guide_msbb_item_one" />
<org.chromium.chrome.browser.privacy_guide.PrivacyGuideExplanationItem
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:iconImage="@drawable/ic_lightbulb_24dp"
app:summaryText="@string/privacy_guide_msbb_item_two" />
<org.chromium.chrome.browser.privacy_guide.PrivacyGuideExplanationHeading
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:titleText="@string/privacy_guide_things_to_consider" />
<org.chromium.chrome.browser.privacy_guide.PrivacyGuideExplanationItem
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:iconImage="@drawable/ic_link_24dp"
app:summaryText="@string/privacy_guide_msbb_item_three" />
<org.chromium.chrome.browser.privacy_guide.PrivacyGuideExplanationItem
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:iconImage="@drawable/ic_bar_chart_24dp"
app:summaryText="@string/privacy_guide_msbb_item_four" />
</LinearLayout>
</LinearLayout>
</ScrollView>