theme preview: draw to bottom
This commit is contained in:
1 parent
09ec1cdec4
commit
0bcb76c093
1 file changed
+1
-1
@@ -92,7 +92,7 @@ public class PreferencesTheme extends PreferenceFragment
|
||||
paint.setStyle(Paint.Style.FILL);
|
||||
for (int i=1; i < colors.length; i++) {
|
||||
paint.setColor(colors[i]);
|
||||
canvas.drawRect(0, step*(i-1), size, step*i, paint);
|
||||
canvas.drawRect(0, step*(i-1), size, size, paint);
|
||||
}
|
||||
|
||||
Drawable d = new BitmapDrawable(mContext.getResources(), bitmap);
|
||||
|
||||
Reference in new issue
Block a user