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

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"

Related

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

How to add Ripple effect in RecyclerView? [duplicate]

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.

Is there a possibility to change the textfont of a textview only in xml-Code? [duplicate]

This question already has answers here:
Set specific font in a styles.xml
(6 answers)
Closed 8 years ago.
It would be much easier and faster if I only need to edit the XML-Code and not the Java-Code...
A little googling goes a long way. Have a look at this library: https://github.com/danh32/Fontify. It'll allow you to specify fonts through xml.

ActionBarSherlock: Creating the View as shown below [duplicate]

This question already has answers here:
Force overflow menu in ActionBarSherlock
(4 answers)
Closed 9 years ago.
I have implemented ActionBarSherlock in my project, which is supposed to run on android 2.2 and above. What i need is the functionality shown in red contour in below image. I had a hard time finding what that functionality is called. can some one please point me at the right direction ?
In you XML for your menu items, add this to every menu-item:
android:showAsAction="never"

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.

Categories

Resources