Simple Trick to Make Multi-color Gradient Background using XML in Android
By default, XML in Android only supports gradient backgrounds with up to 3 colors. However, there is a workaround to create multi-gradient effects. This article will show you how to do it. We’ll create the following background: There are four colors in the gradient: First, create 3 drawable resource files for the gradient background: gradient_background1: … Read more