Update the size of arrow in app switch widget
Fixes: 139156447
Test: manual
Change-Id: Iee0295ebcfde7647fe585613db705942a1255247
diff --git a/car-media-common/res/layout/app_switch_widget.xml b/car-media-common/res/layout/app_switch_widget.xml
index 10629c6..d8b49b3 100644
--- a/car-media-common/res/layout/app_switch_widget.xml
+++ b/car-media-common/res/layout/app_switch_widget.xml
@@ -18,12 +18,12 @@
xmlns:android="http://schemas.android.com/apk/res/android">
<ImageView
android:id="@+id/app_switch_icon"
- android:layout_width="@dimen/app_switch_widget_icon_size"
- android:layout_height="@dimen/app_switch_widget_icon_size"
+ android:layout_width="@dimen/app_switch_widget_switch_icon_size"
+ android:layout_height="@dimen/app_switch_widget_switch_icon_size"
android:tint="@color/app_switch_widget_icon_tint"/>
<ImageView
android:id="@+id/app_icon"
- android:layout_width="@dimen/app_switch_widget_icon_size"
- android:layout_height="@dimen/app_switch_widget_icon_size"/>
+ android:layout_width="@dimen/app_switch_widget_app_icon_size"
+ android:layout_height="@dimen/app_switch_widget_app_icon_size"/>
</merge>
diff --git a/car-media-common/res/values/dimens.xml b/car-media-common/res/values/dimens.xml
index 8bf9a60..d617f78 100644
--- a/car-media-common/res/values/dimens.xml
+++ b/car-media-common/res/values/dimens.xml
@@ -41,7 +41,8 @@
<!-- app_switch_widget.xml -->
<dimen name="app_switch_widget_width">@*android:dimen/car_margin</dimen>
- <dimen name="app_switch_widget_icon_size">@*android:dimen/car_primary_icon_size</dimen>
+ <dimen name="app_switch_widget_app_icon_size">@*android:dimen/car_primary_icon_size</dimen>
+ <dimen name="app_switch_widget_switch_icon_size">@*android:dimen/car_secondary_icon_size</dimen>
<dimen name="app_switch_widget_icon_padding">@*android:dimen/car_padding_1</dimen>
<!-- app_selection_item.xml -->