blob: 9cd7acaff2ce0f7cf698c7c15fc832c17a1aeff4 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2015 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. -->
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="36dp"
android:gravity="center_vertical">
<ImageView
android:id="@+id/control_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/dual_control_margin_between_items"
android:scaleType="centerInside"
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/control_message"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:layout_marginEnd="@dimen/dual_control_margin_between_items"
android:gravity="center_vertical"
android:textAppearance="@style/TextAppearance.TextLarge.Primary" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/control_toggle_switch"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>