@@ -0,0 +1,769 @@
+/**   %0A * @Title: ColorGenerator.java %0A * @Package me.pc.mobile.helper.v14.util %0A * @Description: TODO%0A * @author SilentKnight %7C%7C happychinapc%5Bat%5Dgmail%5Bdot%5Dcom   %0A * @date 2015 2015%E5%B9%B44%E6%9C%8813%E6%97%A5 %E4%B8%8B%E5%8D%884:27:40 %0A * @version V1.0.0   %0A */%0Apackage me.pc.mobile.helper.v14.util;%0A%0Aimport java.util.Random;%0A%0Aimport android.graphics.Color;%0A%0A/**%0A * @ClassName: ColorGenerator%0A * @Description: TODO%0A * @author SilentKnight %7C%7C happychinapc@gmail.com%0A * @date 2015%E5%B9%B44%E6%9C%8813%E6%97%A5 %E4%B8%8B%E5%8D%884:27:40%0A * %0A */%0Apublic final class ColorGenerator %7B%0A%09public static final int RGB = 0XFF + 1;%0A%0A%09public static int genRandomColor() %7B%0A%09%09Random rand = new Random();%0A%09%09int redClr = rand.nextInt(RGB);%0A%09%09int greenClr = rand.nextInt(RGB);%0A%09%09int blueClr = rand.nextInt(RGB);%0A%09%09return Color.rgb(redClr, greenClr, blueClr);%0A%09%7D%0A%7D%0A

Create ColorGenerator.java