Merge "Shrink button ripple on QS btns to 36dp" into nyc-dev

am: 797b1ef39e

* commit '797b1ef39ea4ddd7341483ee70a4d0c08d8d1f1f':
  Shrink button ripple on QS btns to 36dp
This commit is contained in:
Jason Monk
2016-03-02 20:29:15 +00:00
committed by android-build-merger
2 changed files with 33 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
<!--
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>

View File

@@ -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>