• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2    xmlns:tools="http://schemas.android.com/tools"
3    style="?attr/sudSectionItemContainerStyle"
4    android:layout_width="match_parent"
5    android:layout_height="wrap_content"
6    android:baselineAligned="false"
7    android:minHeight="0dp"
8    android:orientation="horizontal"
9    android:filterTouchesWhenObscured="true">
10
11    <!-- unused icon container, which just make the adapter get work on this well-->
12    <FrameLayout
13        android:id="@+id/sud_items_icon_container"
14        android:layout_width="@dimen/sud_items_icon_container_width"
15        android:layout_height="wrap_content"
16        android:layout_gravity="center_vertical"
17        android:gravity="start">
18
19        <ImageView
20            android:id="@+id/sud_items_icon"
21            android:layout_width="wrap_content"
22            android:layout_height="wrap_content"
23            tools:ignore="ContentDescription" />
24
25    </FrameLayout>
26
27    <LinearLayout
28        android:layout_width="0dp"
29        android:layout_height="wrap_content"
30        android:layout_weight="1"
31        android:gravity="center_vertical"
32        android:orientation="vertical">
33
34        <com.google.android.setupdesign.view.RichTextView
35            android:id="@+id/sud_items_title"
36            style="?attr/sudSectionItemTitleStyle"
37            android:layout_width="match_parent"
38            android:layout_height="wrap_content"
39            android:gravity="start"
40            android:textAlignment="viewStart"
41            tools:ignore="UnusedAttribute" />
42
43        <!-- unused text view, which just make the adapter get work on this well-->
44        <com.google.android.setupdesign.view.RichTextView
45            android:id="@+id/sud_items_summary"
46            style="@style/SudItemSummary"
47            android:layout_width="match_parent"
48            android:layout_height="wrap_content"
49            android:layout_marginBottom="@dimen/sud_items_padding_bottom_extra"
50            android:gravity="start"
51            android:textAlignment="viewStart"
52            android:visibility="gone"
53            tools:ignore="UnusedAttribute" />
54
55    </LinearLayout>
56
57</LinearLayout>
58