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
Related
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"
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.
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.
This question already has answers here:
Create a Chat Bubble In Android
(2 answers)
Closed 9 years ago.
i m creating a chatting application in android and just i want to change the view of textview for previewing the comments
textview has a rectangle shape but i want to change it such as below photo that i mentioned...
i searched a lot but because i m newbie in android i should ask it here
i need something like this widget....
i don't know exactly what is it?
is a textview or a container for a textview???
please help me find it out. thanks in advance...
This is just a simple textView with a background image to it. Use a 9-patch image for best results when stretched: http://developer.android.com/reference/android/graphics/NinePatch.html
Also, this site might help in creating 9-patch images:
http://draw9patch.com/
This is a image used as a background on TextView. You can add any shaped image on background of TextView.
There is a source code available for Chat bubbles in Android.
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.