Method 1: To Add Ripple Effect/Animation to a Android Button
Just replace your button background attribute with android:background="?attr/selectableItemBackground" and your code looks like this.
Method 2: To Add Ripple Effect/Animation to a Android Button
Using this method, you can customize ripple effect color. First, you have to create a xml file in your drawable resource directory. Create a ripple_effect.xml file and add following code.
res/drawable/ripple_effect.xml
And set background of button to above drawable resource file. Final code of xml layout activity looks like this.
res/layout/ button_ripple_effect.xml
Just replace your button background attribute with android:background="?attr/selectableItemBackground" and your code looks like this.
Method 2: To Add Ripple Effect/Animation to a Android Button
Using this method, you can customize ripple effect color. First, you have to create a xml file in your drawable resource directory. Create a ripple_effect.xml file and add following code.
res/drawable/ripple_effect.xml
And set background of button to above drawable resource file. Final code of xml layout activity looks like this.
res/layout/ button_ripple_effect.xml
Are you sick & tired from looking for bitcoin faucets?
回复删除Triple your claiming speed with this advanced BTC FAUCET ROTATOR.
Invest in Ripple on eToro the World’s Leading Social Trading Network!
回复删除Join 1,000,000's who have already discovered smarter strategies for investing in Ripple.
Learn from profitable eToro traders or copy their trades automatically.
YoBit lets you to claim FREE CRYPTO-COINS from over 100 unique crypto-currencies, you complete a captcha once and claim as much as coins you need from the available offers.
回复删除After you make about 20-30 claims, you complete the captcha and proceed to claiming.
You can click on CLAIM as much as 30 times per one captcha.
The coins will stored in your account, and you can convert them to Bitcoins or any other currency you want.