So...I wanted to add a line that looks like this line with gradient and have created a drawable which gives this result line without gradient w ...
So...I wanted to add a line that looks like this line with gradient and have created a drawable which gives this result line without gradient w ...
The following kotlin code is used to display a square icon in an Android app. But I would also like to set rounded corners to it; and this is where th ...
How to add a shadow border on 4 sides of an edit text as shown in the image? Applied below code but it creates a shadow on single side only. ...
This is the question I asked earlier today: Recreate shape as in xml file by using code and set width programmatically Using the above solution provi ...
I already have shape code and now I need to draw the same programmatically and set its width according to the length of texts in an array. I am not ab ...
. Answers to this question are eligible for a +50 reputation bounty. Mu ...
I set android:radius="20dp" but why rounded corners only at the left? Red shape should also have rounded corners at the right as well Updated I ...
I have three Material text views, I want to change the background color of the text view according to the text view shape. I tried multiple options bu ...
I am trying to achieve a simple rounded corner layout with a colored background on two specific MaterialTextViews. Codes are below: Any tips why th ...
I'm using an image view with its source pointing to a shape drawable for the background for my app. I want it to look like this which is in the layout ...
I will share the image below that I want to develop my message bubble in Native Android I have written some code in Custom Drawable XML please have a ...
I am trying to make a layout with rounded bottom left and right corners but none of solution is working for me. I have tried various ways like: mai ...
I want to have a glow effect on button (in android studio) as shown in image: I didn't want an image for the background, so to get this effect, I h ...
I found this guideline in material design io site, could anyone share your idea, how to make this using material design, not 3rd party plugin. Tryin ...
I want that CardView, contains Name and First letter of the name in the circle. Just like the contact on our phone. ...
There are tons of SO threads saying their button is appearing as a square do to a bug Floating Action Button with square shape Square FloatingAction ...
I've seen other answers and they all apply to actionbars not toolbars and they require creating new shapes. Is there a simple way to do this using th ...
I need create xml with two layout title and description. In title layout I need add border have half of circle in bottom left and right, and with desc ...
How to create a corner radius in the top left and bottom right in android? Like this My code is <?xml version="1.0" encoding="utf-8"?> < ...
I want to remove the background white color from the editText Search bar.I want the search bar seems floating above. Please anyone help... Here is the ...