Update control bar button slot size
Fixes: 132623875
Test: manual
Change-Id: I18d42cb510e5b390f311f2028eac527731e9a171
diff --git a/car-apps-common/res/layout/control_bar_slot.xml b/car-apps-common/res/layout/control_bar_slot.xml
index 001befc..bc09eed 100644
--- a/car-apps-common/res/layout/control_bar_slot.xml
+++ b/car-apps-common/res/layout/control_bar_slot.xml
@@ -17,7 +17,6 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="@dimen/control_bar_button_slot_size"
android:layout_height="@dimen/control_bar_button_slot_size"
- android:padding="@dimen/control_bar_button_slot_padding"
android:layout_gravity="center_vertical"
android:visibility="visible"
android:foregroundGravity="center"
diff --git a/car-apps-common/res/values/dimens.xml b/car-apps-common/res/values/dimens.xml
index aa89a53..0d9785e 100644
--- a/car-apps-common/res/values/dimens.xml
+++ b/car-apps-common/res/values/dimens.xml
@@ -27,8 +27,7 @@
<dimen name="control_bar_margin_x">@*android:dimen/car_margin</dimen>
<dimen name="control_bar_margin_bottom">@*android:dimen/car_padding_2</dimen>
<dimen name="control_bar_button_size">76dp</dimen>
- <dimen name="control_bar_button_slot_size">96dp</dimen>
- <dimen name="control_bar_button_slot_padding">10dp</dimen>
+ <dimen name="control_bar_button_slot_size">@dimen/control_bar_height</dimen>
<dimen name="control_bar_elevation">0dp</dimen>
<!-- Minimized Control Bar -->