-
Notifications
You must be signed in to change notification settings - Fork 6.6k
/
privacy_guide_done.xml
117 lines (103 loc) · 5.22 KB
/
privacy_guide_done.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2022 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:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/all_content_marginHorizontal"
android:animateLayoutChanges="true"
android:orientation="vertical">
<ImageView
android:layout_marginHorizontal="@dimen/done_step_illustration_marginHorizontal"
android:layout_marginBottom="@dimen/welcome_done_step_illustration_marginVertical"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:maxHeight="@dimen/illustration_maxHeight"
android:adjustViewBounds="true"
android:layout_gravity="center_horizontal"
android:importantForAccessibility="no"
app:srcCompat="@drawable/privacy_guide_done_image" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/privacy_guide_done_title"
android:layout_marginBottom="@dimen/done_step_header_marginBottom"
style="@style/TextAppearance.Headline.Primary" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/done_step_description_marginBottom"
android:text="@string/privacy_guide_done_description"
style="@style/TextAppearance.TextLarge.Secondary" />
<TextView
android:id="@+id/ps_heading"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/done_step_header_marginBottom"
android:text="@string/privacy_guide_privacy_sandbox_heading"
style="@style/TextAppearance.TextMediumThick.Accent1" />
<LinearLayout
android:id="@+id/ps_explanation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/done_step_description_marginBottom"
android:orientation="horizontal">
<TextView
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/privacy_guide_privacy_sandbox_description"
style="@style/TextAppearance.TextMedium.Secondary" />
<org.chromium.ui.widget.ChromeImageButton
android:id="@+id/ps_button"
android:layout_width="@dimen/done_step_link_button_size"
android:layout_height="@dimen/done_step_link_button_size"
android:layout_gravity="center_vertical"
android:padding="@dimen/done_step_link_button_padding"
android:adjustViewBounds="true"
android:scaleType="centerInside"
android:src="@drawable/open_in_new_tab"
android:background="?attr/actionBarItemBackground"
android:contentDescription="@string/accessibility_expand_button"
app:tint="@color/default_icon_color_tint_list" />
</LinearLayout>
<TextView
android:id="@+id/waa_heading"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/done_step_header_marginBottom"
android:text="@string/privacy_guide_web_app_activity_heading"
style="@style/TextAppearance.TextMediumThick.Accent1" />
<LinearLayout
android:id="@+id/waa_explanation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:text="@string/privacy_guide_web_app_activity_description"
style="@style/TextAppearance.TextMedium.Secondary" />
<org.chromium.ui.widget.ChromeImageButton
android:id="@+id/waa_button"
android:layout_width="@dimen/done_step_link_button_size"
android:layout_height="@dimen/done_step_link_button_size"
android:layout_gravity="center_vertical"
android:padding="@dimen/done_step_link_button_padding"
android:adjustViewBounds="true"
android:scaleType="centerInside"
android:src="@drawable/open_in_new_tab"
android:background="?attr/actionBarItemBackground"
android:contentDescription="@string/accessibility_expand_button"
app:tint="@color/default_icon_color_tint_list" />
</LinearLayout>
</LinearLayout>
</ScrollView>