blob: a2d110c67904f1fd47590255183a2f7f2d4c7796 [file] [log] [blame]
<?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/history_sync_view"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/welcome_main_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/all_content_marginHorizontal"
android:animateLayoutChanges="true"
android:gravity="center_horizontal"
android:orientation="vertical">
<ImageView
android:id="@+id/image"
android:layout_marginHorizontal="@dimen/setting_step_illustration_marginHorizontal"
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:adjustViewBounds="true"
android:src="@drawable/privacy_guide_history_sync_image"
android:importantForAccessibility="no" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/history_sync_switch"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:showText="false"
android:text="@string/privacy_guide_history_sync_toggle" />
<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_history_24dp"
app:summaryText="@string/privacy_guide_history_sync_item_one" />
<org.chromium.chrome.browser.privacy_guide.PrivacyGuideExplanationItem
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/last_explanation_item_extra_marginBottom"
app:iconImage="@drawable/ic_dns_24dp"
app:summaryText="@string/privacy_guide_history_sync_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_history_sync_item_three" />
</LinearLayout>
</ScrollView>