• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3    Copyright (C) 2025 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<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18    xmlns:tools="http://schemas.android.com/tools"
19    android:id="@+id/sud_items_expandable_content"
20    style="?attr/sudItemContainerStyle"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content"
23    android:baselineAligned="false"
24    android:orientation="vertical"
25    android:filterTouchesWhenObscured="true">
26
27    <LinearLayout
28        android:layout_width="match_parent"
29        android:layout_height="wrap_content"
30        android:baselineAligned="false"
31        android:orientation="horizontal">
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:gravity="start">
39
40            <ImageView
41                android:id="@+id/sud_items_icon"
42                style="?attr/sudItemIconStyle"
43                android:layout_height="wrap_content"
44                tools:ignore="ContentDescription" />
45
46        </FrameLayout>
47
48        <LinearLayout
49            android:layout_width="0dp"
50            android:layout_height="wrap_content"
51            android:layout_weight="1"
52            android:layout_gravity="center_vertical"
53            android:gravity="center_vertical"
54            android:orientation="vertical">
55
56            <com.google.android.setupdesign.view.RichTextView
57                android:id="@+id/sud_items_title"
58                style="?attr/sudItemTitleStyle"
59                android:layout_width="match_parent"
60                android:layout_height="wrap_content"
61                android:gravity="start"
62                android:textAlignment="viewStart"
63                tools:ignore="UnusedAttribute" />
64
65            <com.google.android.setupdesign.view.RichTextView
66                android:id="@+id/sud_items_summary"
67                style="?attr/sudItemSummaryStyle"
68                android:layout_width="match_parent"
69                android:layout_height="wrap_content"
70                android:gravity="start"
71                android:textAlignment="viewStart"
72                android:visibility="gone"
73                tools:ignore="UnusedAttribute" />
74
75        </LinearLayout>
76
77        <ImageView
78          android:id="@+id/sud_items_expand_button"
79          android:layout_width="@dimen/sud_items_expand_button_size"
80          android:layout_height="@dimen/sud_items_expand_button_size"
81          android:layout_gravity="center_vertical"
82          android:scaleType="center"
83          android:src="@drawable/sud_items_expand_button_icon" />
84
85    </LinearLayout>
86
87    <FrameLayout
88        android:id="@+id/sud_items_expandable_content_container"
89        android:layout_width="match_parent"
90        android:layout_height="wrap_content"
91        android:visibility="gone" />
92
93</LinearLayout>