Screenshots: https://hsv.googleplex.com/4589397415559168 https://hsv.googleplex.com/5576952567037952 https://hsv.googleplex.com/6079469881131008 https://hsv.googleplex.com/6045840454975488 https://hsv.googleplex.com/5538598475530240 https://hsv.googleplex.com/5583266370289664 https://hsv.googleplex.com/5193544695283712 https://hsv.googleplex.com/5715297322401792 The behavior is protected by ThemeHelper.shouldApplyGlifExpressiveStyle Bug: 412256238 Test: manual Flag: EXEMPT protected by setup design library `ThemeHelper.shouldApplyGlifExpressiveStyle`. Change-Id: I621b20a1f1eb9bea216dbfeed5509eb62d4e8a27
83 lines
3.0 KiB
XML
83 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Copyright (C) 2025 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
style="?attr/sudItemContainerStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:baselineAligned="false"
|
|
android:orientation="horizontal"
|
|
android:filterTouchesWhenObscured="true">
|
|
|
|
<com.google.android.material.radiobutton.MaterialRadioButton
|
|
android:id="@+id/sud_items_radio_button"
|
|
style="com.google.android.setupdesign:attr/sudItemRadioButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.setupdesign.view.RichTextView
|
|
android:id="@+id/sud_items_title"
|
|
style="?attr/sudItemTitleStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="start"
|
|
android:labelFor="@+id/sud_items_radio_button"
|
|
android:textAlignment="viewStart"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
<com.google.android.setupdesign.view.RichTextView
|
|
android:id="@+id/sud_items_summary"
|
|
style="?attr/sudItemSummaryStyle"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="start"
|
|
android:textAlignment="viewStart"
|
|
android:visibility="gone"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
</LinearLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/sud_items_icon_container"
|
|
style="?attr/sudItemIconContainerStyle"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:visibility="gone"
|
|
android:gravity="start">
|
|
|
|
<ImageView
|
|
android:id="@+id/error_icon"
|
|
android:src="@drawable/gs_error_vd_theme_24"
|
|
style="?attr/sudItemIconStyle"
|
|
android:layout_height="wrap_content"
|
|
tools:ignore="ContentDescription" />
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|