Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a0d6c873 authored by Yabin Huang's avatar Yabin Huang
Browse files

Update the style of navigation button

Make navigation button use ?android:attr/selectableItemBackground as
background, and remove unused style CarNavigationBarButtonTheme.

Bug: 155681517
Test: manual
Change-Id: I637e7a49bb68145c5c36cf1b0363113437b88212
parent 31b2931b
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@
  ~ limitations under the License
  -->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
    <color name="nav_bar_ripple_background_color">#40ffffff</color>
    <!-- colors for user switcher -->
    <color name="car_user_switcher_background_color">#000000</color>
    <color name="car_user_switcher_name_text_color">@*android:color/car_body1_light</color>
+1 −5
Original line number Diff line number Diff line
@@ -37,13 +37,9 @@
        <item name="android:textColor">@*android:color/car_grey_50</item>
    </style>

    <style name="CarNavigationBarButtonTheme">
        <item name="android:colorControlHighlight">@color/nav_bar_ripple_background_color</item>
    </style>

    <style name="NavigationBarButton">
        <item name="android:layout_height">96dp</item>
        <item name="android:layout_width">96dp</item>
        <item name="android:background">@*android:drawable/item_background_material</item>
        <item name="android:background">?android:attr/selectableItemBackground</item>
    </style>
</resources>
 No newline at end of file