changed all them beautifull colors

This commit is contained in:
Daniel Gultsch 2014-03-31 11:11:17 +02:00
parent 6bb7764d72
commit aed5b01434
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ public class UIHelper {
int holoColors[] = { 0xFF1da9da, 0xFFb368d9, 0xFF83b600, 0xFFffa713,
0xFFe92727 };
int color = holoColors[Math.abs(name.hashCode()) % holoColors.length];
int color = holoColors[Math.abs(name.toLowerCase(Locale.getDefault()).hashCode()) % holoColors.length];
Bitmap bitmap = Bitmap
.createBitmap(size, size, Bitmap.Config.ARGB_8888);