Skip to content

Commit 7ee0b72

Browse files
afohrmanhunterstich
authored andcommitted
[Side Sheet] Mapped close affordance to ?attr/colorOnSurfaceVariant in catalog.
PiperOrigin-RevId: 538533345
1 parent 4e03e26 commit 7ee0b72

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

catalog/java/io/material/catalog/sidesheet/res/layout/cat_sidesheet_content.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
android:layout_height="wrap_content"
3232
android:contentDescription="@string/cat_sidesheet_close_button_content_desc"
3333
app:icon="@drawable/ic_close_vd_theme_24px"
34+
app:iconTint="?attr/colorOnSurfaceVariant"
3435
app:layout_constraintEnd_toEndOf="parent"
3536
app:layout_constraintTop_toTopOf="@id/side_sheet_title_text"
3637
tools:ignore="ContentDescription" />

catalog/java/io/material/catalog/sidesheet/res/layout/cat_sidesheet_content_coplanar.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
android:layout_height="wrap_content"
3030
android:contentDescription="@string/cat_sidesheet_close_button_content_desc"
3131
app:icon="@drawable/ic_close_vd_theme_24px"
32+
app:iconTint="?attr/colorOnSurfaceVariant"
3233
app:layout_constraintEnd_toEndOf="parent"
3334
app:layout_constraintTop_toTopOf="parent"
3435
tools:ignore="ContentDescription" />

catalog/java/io/material/catalog/sidesheet/res/layout/cat_sidesheet_content_coplanar_detached.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
android:layout_height="wrap_content"
3030
android:contentDescription="@string/cat_sidesheet_close_button_content_desc"
3131
app:icon="@drawable/ic_close_vd_theme_24px"
32+
app:iconTint="?attr/colorOnSurfaceVariant"
3233
app:layout_constraintEnd_toEndOf="parent"
3334
app:layout_constraintTop_toTopOf="parent"
3435
tools:ignore="ContentDescription" />

catalog/java/io/material/catalog/sidesheet/res/layout/cat_sidesheet_content_vertically_scrolling.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
android:layout_height="wrap_content"
3030
android:contentDescription="@string/cat_sidesheet_close_button_content_desc"
3131
app:icon="@drawable/ic_close_vd_theme_24px"
32+
app:iconTint="?attr/colorOnSurfaceVariant"
3233
app:layout_constraintEnd_toEndOf="parent"
3334
app:layout_constraintTop_toTopOf="parent"
3435
tools:ignore="ContentDescription" />

catalog/java/io/material/catalog/sidesheet/res/layout/cat_sidesheet_detached_content.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
android:layout_height="wrap_content"
3232
android:contentDescription="@string/cat_sidesheet_close_button_content_desc"
3333
app:icon="@drawable/ic_close_vd_theme_24px"
34+
app:iconTint="?attr/colorOnSurfaceVariant"
3435
app:layout_constraintEnd_toEndOf="parent"
3536
app:layout_constraintTop_toTopOf="@id/detached_side_sheet_title_text"
3637
tools:ignore="ContentDescription" />

0 commit comments

Comments
 (0)