Top "Android-shape" questions

This is a generic shape defined in XML.

How to make a view with rounded corners?

I am trying to make a view in android with rounded edges. The solution I found so far is to …

android android-layout view android-view android-shape
How to make a shape with left-top round rounded corner and left-bottom rounded corner?

I want to make a shape with with left-top rounded corner and left-bottom rounded corner: <?xml version="1.0" encoding="UTF-8"?&…

android android-shape
angle attribute in android gradient

I am going through test example. Where for some Image background they are using gradient, the code goes like this &…

android android-layout gradient android-shape
Add only top and bottom border on LinearLayout

I would like to add only a bottom and a top border on my Linearlayout. I have tried to do …

android android-linearlayout android-shape
Ring shape in android

I have the following xml in drawable folder (circle_status.xml) to create a ring: <?xml version="1.0" encoding="utf-8"?&…

android android-xml android-drawable android-shape
Open-sided Android stroke?

Is it possible to create an Android shape object with stroke on only certain sides? Eg I have: <stroke …

android android-drawable android-shape
How to draw a circle inside a circle using Android xml shapes?

I'm trying to make a thumb for a seekbar for my app, and I want to have an inner circle …

java android android-drawable android-shape
How to show only top and bottom border

This is my XML code which works fine, the only problem is it's showing border on all four sides while …

android layer-list android-shape
How to implement a PIN code screen

How to code such type of password screen design, while after inputting the password the circles should change or imageview …

android xml android-layout android-studio android-shape
What does top, left, right and bottom mean in Android Rect object

I have an Android project where I should make Apples fall. The apples are painted in a Rect. So I …

android android-canvas android-view android-shape