XML : How to make a drawable rectangle with two colors in xml in android?

I want to make something like this by using xml in android. I achieved something like it using gradient with angle 45 degree but I don't want gradient but plain color like this. Any suggestion is greatly appreciated. Thanks in Advance.This is what I want to make using xml. I need many like this so I can not load bitmaps in drawable folder.

No comments:

Post a Comment