Wrapping the widgets according to the width and keeping some min width for the ripple effect.
Test: Manual
Bug: 147392302
Change-Id: I49e9e929d02eb5532b4e721db721a1c9bd185e41
diff --git a/car-ui-lib/res/layout/car_ui_list_item.xml b/car-ui-lib/res/layout/car_ui_list_item.xml
index 6be7e82..d7aa12f 100644
--- a/car-ui-lib/res/layout/car_ui_list_item.xml
+++ b/car-ui-lib/res/layout/car_ui_list_item.xml
@@ -96,7 +96,8 @@
<FrameLayout
android:id="@+id/action_container"
- android:layout_width="@dimen/car_ui_list_item_icon_container_width"
+ android:layout_width="wrap_content"
+ android:minWidth="@dimen/car_ui_list_item_icon_container_width"
android:layout_height="0dp"
android:background="?android:attr/selectableItemBackground"
app:layout_constraintBottom_toBottomOf="parent"