blob: 1c92522a745b31a0a2411b469952299832b85686 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2020 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<org.chromium.components.browser_ui.widget.RadioButtonWithDescriptionLayout
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="wrap_content"
android:focusable="false">
<org.chromium.components.browser_ui.widget.RadioButtonWithDescriptionAndAuxButton
android:id="@+id/enhanced_protection"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:primaryText="@string/safe_browsing_enhanced_protection_title"
app:descriptionText="@string/safe_browsing_enhanced_protection_summary" />
<org.chromium.components.browser_ui.widget.RadioButtonWithDescriptionAndAuxButton
android:id="@+id/standard_protection"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:primaryText="@string/safe_browsing_standard_protection_title"
app:descriptionText="@string/safe_browsing_standard_protection_summary" />
<!-- Add paddingEnd to make it align with the other radio buttons. -->
<org.chromium.components.browser_ui.widget.RadioButtonWithDescription
android:id="@+id/no_protection"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingEnd="@dimen/radio_button_with_description_and_aux_button_aux_button_length"
app:primaryText="@string/safe_browsing_no_protection_title"
app:descriptionText="@string/safe_browsing_no_protection_summary" />
</org.chromium.components.browser_ui.widget.RadioButtonWithDescriptionLayout>