Implement fixes to achieve Polestar styles
Bug: 140031856
Test: Manual on device
Change-Id: I2d2bd5afc1c5c28048086dee384a66fa64aa4f5a
diff --git a/car-ui-lib/res/values/dimens.xml b/car-ui-lib/res/values/dimens.xml
index ddb0067..5e7d7e6 100644
--- a/car-ui-lib/res/values/dimens.xml
+++ b/car-ui-lib/res/values/dimens.xml
@@ -45,7 +45,7 @@
<!-- Tab icon height (if icons are enabled) -->
<dimen name="car_ui_tab_icon_height">36dp</dimen>
- <!-- Car toolbar -->
+ <!-- Toolbar -->
<dimen name="car_ui_toolbar_row_height">96dp</dimen>
<dimen name="car_ui_toolbar_first_row_height">@dimen/car_ui_toolbar_row_height</dimen>
<dimen name="car_ui_toolbar_second_row_height">@dimen/car_ui_toolbar_row_height</dimen>
@@ -64,6 +64,9 @@
<!-- Internal artifacts. Do not overlay -->
<item name="wrap_content" format="integer" type="dimen">-2</item>
+ <!-- CarUiRecyclerView -->
+ <dimen name="car_ui_recyclerview_divider_height">0dp</dimen>
+
<!-- Default Scroll Bar for CarUiRecyclerView -->
<dimen name="car_ui_scrollbar_button_size">@dimen/car_ui_touch_target_width</dimen>
<dimen name="car_ui_scrollbar_thumb_width">7dp</dimen>
@@ -105,6 +108,11 @@
<dimen name="car_ui_preference_edit_text_dialog_text_margin_start">24dp</dimen>
<dimen name="car_ui_preference_edit_text_dialog_text_margin_end">24dp</dimen>
+ <dimen name="car_ui_preference_switch_text_size">30sp</dimen>
+ <dimen name="car_ui_preference_switch_width">288dp</dimen>
+ <dimen name="car_ui_preference_switch_width_half">144dp</dimen>
+ <dimen name="car_ui_preference_switch_height">101dp</dimen>
+
<!-- Alert dialog -->
<dimen name="car_ui_dialog_edittext_height">50dp</dimen>