How to create a background image in android with two colors divided diagonally? -


I want to create an image such as I have a postet but with the XML file I hope that I am clearly enough.

You can not use it in drable xml sizes

There are available shapes:

  A view that fills the scene This default size is "oval" in an oval shape, in which the dimensions of the view Fits to "line" is a horizontal line in which the view of the width extends to this shape & lt; Stroke & gt; To define the width of the line  

element "ring" shapes a ring.

You can draw it using the canvas.


Comments