44 style =" ?attr/materialCardViewFilledStyle"
55 android : layout_width =" match_parent"
66 android : layout_height =" wrap_content"
7- android : layout_marginStart =" 17dp "
7+ android : layout_marginStart =" ?attr/listPreferredItemPaddingStart "
88 android : layout_marginTop =" 24dp"
9- android : layout_marginEnd =" 17dp "
9+ android : layout_marginEnd =" ?attr/listPreferredItemPaddingEnd "
1010 android : layout_marginBottom =" 14dp"
11- android : baselineAligned =" true"
1211 android : clickable =" true"
1312 app : cardBackgroundColor =" ?attr/colorPrimaryContainer"
1413 app : cardCornerRadius =" 18dp" >
1514
16- <androidx .appcompat .widget.LinearLayoutCompat
15+ <androidx .constraintlayout .widget.ConstraintLayout
1716 android : layout_width =" match_parent"
1817 android : layout_height =" wrap_content"
19- android : orientation = " horizontal " >
18+ android : padding = " 16dp " >
2019
2120 <com .google.android.material.imageview.ShapeableImageView
2221 android : id =" @android:id/icon"
2322 android : layout_width =" wrap_content"
2423 android : layout_height =" wrap_content"
25- android : layout_gravity =" start|center_vertical"
26- android : layout_marginStart =" 16dp"
2724 android : importantForAccessibility =" no"
2825 android : tint =" ?attr/colorOnPrimaryContainer"
26+ app : layout_constraintBottom_toBottomOf =" parent"
27+ app : layout_constraintStart_toStartOf =" parent"
28+ app : layout_constraintTop_toTopOf =" parent"
2929 tools : src =" @drawable/ic_assistant_chatgpt" />
3030
31- <androidx .appcompat.widget.LinearLayoutCompat
31+ <androidx .constraintlayout.widget.ConstraintLayout
32+ android : id =" @+id/text_container"
3233 android : layout_width =" 0dp"
3334 android : layout_height =" wrap_content"
34- android : layout_gravity =" center_vertical"
35- android : layout_margin =" 16dp"
36- android : layout_weight =" 1"
37- android : orientation =" vertical" >
35+ android : layout_marginStart =" 16dp"
36+ android : layout_marginEnd =" 16dp"
37+ app : layout_constraintBottom_toBottomOf =" @android:id/icon"
38+ app : layout_constraintEnd_toStartOf =" @android:id/widget_frame"
39+ app : layout_constraintStart_toEndOf =" @android:id/icon"
40+ app : layout_constraintTop_toTopOf =" @android:id/icon" >
3841
3942 <com .google.android.material.textview.MaterialTextView
4043 android : id =" @android:id/title"
41- android : layout_width =" wrap_content "
44+ android : layout_width =" 0dp "
4245 android : layout_height =" wrap_content"
4346 android : ellipsize =" marquee"
4447 android : maxLines =" 2"
45- android : paddingBottom =" 4dp"
4648 android : textAppearance =" ?attr/textAppearanceTitleMedium"
4749 android : textColor =" ?attr/colorOnPrimaryContainer"
50+ app : layout_constraintEnd_toEndOf =" parent"
51+ app : layout_constraintStart_toStartOf =" parent"
52+ app : layout_constraintTop_toTopOf =" parent"
4853 tools : text =" @string/pref_digital_assistant" />
4954
5055 <com .google.android.material.textview.MaterialTextView
5156 android : id =" @android:id/summary"
52- android : layout_width =" wrap_content "
57+ android : layout_width =" 0dp "
5358 android : layout_height =" wrap_content"
59+ android : layout_marginTop =" 2dp"
5460 android : ellipsize =" marquee"
5561 android : maxLines =" 8"
5662 android : textAppearance =" ?attr/textAppearanceBodyLargeEmphasized"
5763 android : textColor =" ?attr/colorPrimary"
64+ app : layout_constraintBottom_toBottomOf =" parent"
65+ app : layout_constraintEnd_toEndOf =" parent"
66+ app : layout_constraintStart_toStartOf =" parent"
67+ app : layout_constraintTop_toBottomOf =" @android:id/title"
5868 tools : text =" @string/chatgpt" />
59- </androidx .appcompat .widget.LinearLayoutCompat >
69+ </androidx .constraintlayout .widget.ConstraintLayout >
6070
6171 <androidx .appcompat.widget.LinearLayoutCompat
6272 android : id =" @android:id/widget_frame"
6373 android : layout_width =" wrap_content"
6474 android : layout_height =" wrap_content"
65- android : layout_gravity =" center_vertical"
66- android : layout_marginEnd =" 16dp"
67- android : orientation =" vertical" />
68- </androidx .appcompat.widget.LinearLayoutCompat>
75+ android : orientation =" vertical"
76+ app : layout_constraintBottom_toBottomOf =" @android:id/icon"
77+ app : layout_constraintEnd_toEndOf =" parent"
78+ app : layout_constraintTop_toTopOf =" @android:id/icon" />
79+ </androidx .constraintlayout.widget.ConstraintLayout>
6980</com .google.android.material.card.MaterialCardView>
0 commit comments