In Android we can create gradient effect in two ways. First one is by creating a drawable xml file and second method is by program. Here in this article i will explain the second method. Creating circular gradient programmatically does not require you to add graphics in your application. Thus it can save your precious […]
Android How To Create Rectangle Shape Drawable Using XML
This tutorial show you how to create a rectangle shape using drawable xml resource. It is extremely easy method and consumes less APK size when you compare it with image formats like JPG, PNG, WebP etc that are being bundled within APK. I recommend you to replace all these simple shapes with corresponding shape drawables […]
How To Create Circle Shape Using XML In Android
Android allows us to create shapes using shape drawable. The basic shapes supported in shape drawables are Line, Oval, Rectangle and Ring. This tutorial focuses on how to create circle shape. The drawable created using android shapes are scalable and highly maintainable compared to pre graphics bundled with APK. Here we use Oval. If you […]