Skip to content Skip to sidebar Skip to footer
Showing posts with the label Shape

Make A View With Rectangle Shape Using Xml Definitions (drawable) In Android

https://drive.google.com/file/d/0B0vP0ppNf8G3MFdBRmF5WkJEZ3c/view?usp=sharing I want to create shap… Read more Make A View With Rectangle Shape Using Xml Definitions (drawable) In Android

Android Background With A Thin Line

I would like to create a background for my layouts. What I used still now is: Solution 1: I found … Read more Android Background With A Thin Line

Android - How To Draw A Transparent Rectangle Bordered Shape With Only Its Corners Visible?

I want to draw a shape like this in android. I used the following code Solution 1: Try this ,it w… Read more Android - How To Draw A Transparent Rectangle Bordered Shape With Only Its Corners Visible?

Android Triangle Drawablw Xml

I want to draw an equilateral triangle.I have checked but it is inverted.I want a triangle that loo… Read more Android Triangle Drawablw Xml

How To Set Line As A Background Using Xml (shape) Below To Edittext?

I want to set the line as background below EditText using shape xml but when I set it line set on c… Read more How To Set Line As A Background Using Xml (shape) Below To Edittext?

How To Create Ring Shape Drawable In Android?

with this code I get just a border: Solution 1: 2dp outer ring with a 2dp gap: <?xml version=&q… Read more How To Create Ring Shape Drawable In Android?

Drawing Shape Programmatically With Part Corners Rounded Only

Problem here is to draw this kind of shape in onDraw method. I've tried using Path and CornerPa… Read more Drawing Shape Programmatically With Part Corners Rounded Only

How To Programmatically Create Or Alter A Drawable Made Of Lines Of Different Colors

I have to draw a 3dp line to represent a level completion in a quizz game. This line must be of 2 c… Read more How To Programmatically Create Or Alter A Drawable Made Of Lines Of Different Colors