• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3    Copyright (C) 2024 The Android Open Source Project
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16-->
17
18<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19    xmlns:tools="http://schemas.android.com/tools"
20    style="?attr/sudItemContainerStyle"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content"
23    android:baselineAligned="false"
24    android:orientation="horizontal"
25    android:filterTouchesWhenObscured="true">
26
27    <com.google.android.material.radiobutton.MaterialRadioButton
28        android:id="@+id/sud_items_radio_button"
29        android:layout_width="wrap_content"
30        android:layout_height="match_parent"
31        android:layout_gravity="center_vertical" />
32
33    <FrameLayout
34        android:id="@+id/sud_items_icon_container"
35        style="?attr/sudItemIconContainerStyle"
36        android:layout_height="wrap_content"
37        android:layout_gravity="center_vertical"
38        android:visibility="gone"
39        android:gravity="start">
40
41        <ImageView
42            android:id="@+id/sud_items_icon"
43            style="?attr/sudItemIconStyle"
44            android:layout_height="wrap_content"
45            tools:ignore="ContentDescription" />
46
47    </FrameLayout>
48
49    <LinearLayout
50        android:layout_width="0dp"
51        android:layout_height="wrap_content"
52        android:layout_weight="1"
53        android:layout_gravity="center_vertical"
54        android:gravity="center_vertical"
55        android:orientation="vertical">
56
57        <com.google.android.setupdesign.view.RichTextView
58            android:id="@+id/sud_items_title"
59            style="?attr/sudItemTitleStyle"
60            android:layout_width="match_parent"
61            android:layout_height="wrap_content"
62            android:gravity="start"
63            android:labelFor="@+id/sud_items_radio_button"
64            android:textAlignment="viewStart"
65            tools:ignore="UnusedAttribute" />
66
67        <com.google.android.setupdesign.view.RichTextView
68            android:id="@+id/sud_items_summary"
69            style="?attr/sudItemSummaryStyle"
70            android:layout_width="match_parent"
71            android:layout_height="wrap_content"
72            android:gravity="start"
73            android:textAlignment="viewStart"
74            android:visibility="gone"
75            tools:ignore="UnusedAttribute" />
76
77    </LinearLayout>
78</LinearLayout>