Override alpha & color for count button in message notifications

Bug: 261463593
Test: manual
Change-Id: Ic3f1d25fd1b86e686559df8c6a15002e22150fea
diff --git a/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/values/colors.xml b/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/values/colors.xml
index dfb53de..7d350c7 100644
--- a/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/values/colors.xml
+++ b/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/values/colors.xml
@@ -42,4 +42,5 @@
     <color name="warning_primary_text_color">@color/car_yellow_on_color_container</color>
     <color name="warning_secondary_text_color">@color/car_yellow_color</color>
     <color name="unmute_button">@color/car_primary</color>
+    <color name="count_text">@color/car_primary</color>
 </resources>
diff --git a/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/values/config.xml b/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/values/config.xml
index c3551a9..7ba402b 100644
--- a/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/values/config.xml
+++ b/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/values/config.xml
@@ -52,6 +52,12 @@
     <!-- Whether to show expansion header in group notifications.  -->
     <bool name="config_showExpansionHeader">false</bool>
 
+    <!-- Whether to use custom colors for message notification count text button. -->
+    <bool name="config_useCustomColorForMessageNotificationCountTextButton">true</bool>
+
+    <!-- Alpha for disabled count text button in message notifications. -->
+    <item name="config_disabledCountTextButtonAlpha" format="float" type="dimen">0.35</item>
+
     <!-- When true, ignore the notification color for warning notification background and use @color/warning_background_color instead. -->
     <bool name="config_useCustomColorForWarningNotification">true</bool>
 
diff --git a/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/xml/overlays.xml b/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/xml/overlays.xml
index b38bdc5..6d77858 100644
--- a/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/xml/overlays.xml
+++ b/car_product/car_ui_portrait/rro/CarUiPortraitNotificationRRO/res/xml/overlays.xml
@@ -33,6 +33,7 @@
     <item target="bool/config_showHeaderForNotifications" value="@bool/config_showHeaderForNotifications"/>
     <item target="bool/config_showHeadsUpNotificationOnBottom" value="@bool/config_showHeadsUpNotificationOnBottom" />
     <item target="bool/config_showRecentAndOldHeaders" value="@bool/config_showRecentAndOldHeaders"/>
+    <item target="bool/config_useCustomColorForMessageNotificationCountTextButton" value="@bool/config_useCustomColorForMessageNotificationCountTextButton"/>
     <item target="bool/config_useCustomColorForInformationNotification" value="@bool/config_useCustomColorForInformationNotification"/>
     <item target="bool/config_useCustomColorForWarningNotification" value="@bool/config_useCustomColorForWarningNotification"/>
     <item target="bool/config_useLauncherIcon" value="@bool/config_useLauncherIcon"/>
@@ -44,6 +45,7 @@
 
     <item target="color/action_button_background_color" value="@color/action_button_background_color"/>
     <item target="color/clear_all_button_background_color" value="@color/clear_all_button_background_color"/>
+    <item target="color/count_text" value="@color/count_text"/>
     <item target="color/dark_icon_tint" value="@color/dark_icon_tint"/>
     <item target="color/emergency_background_color" value="@color/emergency_background_color"/>
     <item target="color/emergency_primary_text_color" value="@color/emergency_primary_text_color"/>
@@ -84,6 +86,7 @@
     <item target="dimen/clear_all_button_radius" value="@dimen/clear_all_button_radius" />
     <item target="dimen/clear_all_button_min_width" value="@dimen/clear_all_button_min_width" />
     <item target="dimen/clear_all_button_padding" value="@dimen/clear_all_button_padding" />
+    <item target="dimen/config_disabledCountTextButtonAlpha" value="@dimen/config_disabledCountTextButtonAlpha" />
     <item target="dimen/config_olderNotificationsAlpha" value="@dimen/config_olderNotificationsAlpha" />
     <item target="dimen/expanded_package_name_margin" value="@dimen/expanded_package_name_margin" />
     <item target="dimen/mute_icon_height" value="@dimen/mute_icon_height"/>