add ripple effect to buttons
This commit is contained in:
parent
9f07615348
commit
9037b9d8fe
2 changed files with 5 additions and 1 deletions
5
app/src/main/res/drawable-v21/button.xml
Normal file
5
app/src/main/res/drawable-v21/button.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:color="@color/dark_grey">
|
||||||
|
<item android:drawable="@drawable/button_normal"/>
|
||||||
|
</ripple>
|
|
@ -22,6 +22,5 @@
|
||||||
<item name="android:windowContentOverlay">@null</item>
|
<item name="android:windowContentOverlay">@null</item>
|
||||||
<item name="android:backgroundDimEnabled">false</item>
|
<item name="android:backgroundDimEnabled">false</item>
|
||||||
<item name="android:textColor">@android:color/white</item>
|
<item name="android:textColor">@android:color/white</item>
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
Loading…
Reference in a new issue