How to add Ripple effect in RecyclerView? [duplicate] - android

This question already has answers here:
Adding Ripple Effect to RecyclerView item
(6 answers)
Closed 4 years ago.
I would like to add this nice effect to my RecyclerView items but I don't know where to start. Does anyone know of a good and simple tutorial on this topic?

Here's a good library: RippleView
Hope it helps.
Update
The library above is only for Buttons, as I was pointed out.
This library, RippleEffect, you can have the Ripple Effect to Views too.

Related

how I can add a ripple inside a recyclerview? [duplicate]

This question already has answers here:
Adding Ripple Effect to RecyclerView item
(6 answers)
Closed 4 years ago.
how I can add ripple like this vedio
https://www.youtube.com/watch?v=Rr3UAafPOZ0
if there lists ripple please give me url
I've already answered to a similar question, you check the answer here
Which basically consists of adding the following to your item's layout:
android:background="?attr/selectableItemBackground"

ImageView/layout rounded circular in XML [duplicate]

This question already has an answer here:
How to create a circular ImageView in Android? [duplicate]
(1 answer)
Closed 6 years ago.
I'd Like to make any image from my ImageView/Layout to be circular with a border.
I searched but couldn't find any useful information (anything that I tried didn't work).
Please find the screenshot
I think what you are looking for is this,
https://github.com/hdodenhof/CircleImageView

Customize SeekBar with two thumb in Android [duplicate]

This question already has answers here:
Android Seekbar with two thumbs
(5 answers)
Closed 6 years ago.
I use a seekbar with two thumb in my application and would like to customize it.
I want to change the drawable(I want to use my own image). How to do it?
Basically you will need Range Bar. User can set Range between two numbers
Check this lib - https://github.com/oli107/material-range-bar
Above library is also supports Material design which provides rich UI
Hope it will help :)

border for EditText? [duplicate]

This question already has answers here:
Is there an easy way to add a border to the top and bottom of an Android View?
(25 answers)
Closed 8 years ago.
I saw many related discussions but didn't find a suitable solution. What I need to do is to create a black border on the top and the bottom sides of an EditText widget. Is that possible?
This is possible with a NinePatchDrawable background.
http://developer.android.com/guide/topics/resources/drawable-resource.html#NinePatch
Yes, it is. Just create your custom EditText or set a suitable drawable as a background.

Android: Add outer glow to ImageButton [duplicate]

This question already has answers here:
Standard Android Button with a different color
(20 answers)
Closed 3 years ago.
I have been looking at these posts:
StateList
, Different states
What I really want is to add an outer-glow or some way to highlight the button onclick versus making different images for the associated states. Is this possible using colors or themes?
Thanks in advance :)
EDIT:
I found a good solution here, not quite the right answer but a good one none the less:
standard-android-button-with-a-different-color
I think you will be better off making an image for the state rather than trying to use software to render this automatically. The software solution will most likely be slower.

Categories

Resources