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 ...
I would like to create a custom drawable background for an EditText component in my Android layout. This should include a lower border spanning the en ...
Is their any possibility to draw rectangle shape with any of hex color with opacity for that color for example: blue_color_background.xml The abov ...
I'm new in android programming and I try design this shape: check this link to see the shape that I want to design it how can make this shape, and h ...
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. ...
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 ...
I have a shape drawable resource file. it's the drawable.xml code below. and this is layout xml code. and the result is this. you can see th ...
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 just wat to create a button as shown in the image. But I am not able to make the round edges at the top corners. How we can do that..please help. ...
I tried the below code to create a popup window with a tooltip-like arrow on top. picture attached. But I am getting something different as a result. ...
I have a ShapeableImageView here, with 5dp stroke: This is the result: ...
I'm trying to achieve something like the following: the image inside is not too much of a problem, but the ring appears to be one. I was able to do ...
I'm trying to draw a circle on previewView by setOnTouchListener as below This was my PreviewView When I tap on view when constraintDimensionRat ...
I'm trying to build a layout with a ConstraintLayout with rounded corners inside a ScrollView. At the top of the layout I want to place an image that ...
how can I create a triangle gap on the bottom of a cardview like this in android studio? ...
I would like to draw the following shape ( without border ) using xml on android studio. Could anyone please help me to draw it ? ...
I am trying to make a shape that looks roughly like I understand that I need a layer-list with 3 items stacked on top of each other with two of th ...
I'm trying to make one rounded corner of ImageView like in the picture below but with bottom right corner. Tried using background shape but it's not w ...
I had nested LinearLayouts and after reading some doc I tried to switch to ConstraintLayout. But I did not find how to insert a view to just display a ...
I am using the elevation attribute for my linearlayout, but the shadow is to bright. I need a darker shadow only for the linear layout. I added andro ...