Created
January 28, 2017 15:54
-
-
Save skooltch84/661d701cbf56841c92454a3d139c391d to your computer and use it in GitHub Desktop.
Android Studio: Create a Ripple Effect for a Button
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<ripple | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:color="@color/colorAccent"> | |
<item> | |
<shape | |
android:shape="rectangle"> | |
<solid android:color="#4CAF50" /> | |
</shape> | |
</item> | |
</ripple> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this to make circular button