how to create a semi oval shape (bending a line)?

I'm trying to create a custom shape for my NavigationView footer, as background. but it's not so clean. This is what...

How to create android drawable consisting of two colors side by side??

Uisng XML is it possible to create a drawable where half of it would be color1 and another half would be color2? Whe...

How set background drawable programmatically in Android?

To set Background: RelativeLayout layout =(RelativeLayout)findViewById(R.id.background); layout.setBackgroundResour...

How to convert a Drawable image from resources to a Bitmap?

I were trying to attach images from Drawable to an email (from my app to Gmail app) I have tried the next code: ...

Custom Shapes :Android?

I want to draw custom shapes like this- I want to make this using xml.I cant seem to understand the use of layer-...