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

Commit 30014c4a authored by Jason Monk's avatar Jason Monk
Browse files

Shrink button ripple on QS btns to 36dp

Bug: 27388390
Change-Id: I1efbedfdf720edf4cf5d43797da59904d91cb543
parent 1aeb31bd
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
<!--
     Copyright (C) 2016 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<inset
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:insetTop="4dp"
    android:insetBottom="4dp">
    <ripple
        android:color="?android:attr/colorControlHighlight" >

        <item android:id="@android:id/mask">
            <shape>
                <corners android:radius="@dimen/borderless_button_radius" />

                <solid android:color="@android:color/white" />
            </shape>
        </item>

    </ripple>
</inset>
+1 −1
Original line number Diff line number Diff line
@@ -214,7 +214,7 @@

    <style name="QSBorderlessButton">
        <item name="android:padding">12dp</item>
        <item name="android:background">@drawable/btn_borderless_rect</item>
        <item name="android:background">@drawable/qs_btn_borderless_rect</item>
        <item name="android:gravity">center</item>
    </style>