Increase contrast between identicon and background.

This commit is contained in:
akwizgran
2016-02-10 12:09:32 +00:00
parent 43558ca089
commit 3f356b999a
9 changed files with 26 additions and 34 deletions

View File

@@ -17,7 +17,6 @@ package im.delight.android.identicons;
*/
import android.content.Context;
import android.graphics.Color;
import android.util.AttributeSet;
import org.briarproject.api.crypto.CryptoComponent;
@@ -70,11 +69,6 @@ public class SymmetricIdenticon extends IdenticonView {
protected boolean isCellVisible(int row, int column) {
return getByte(3 + row * CENTER_COLUMN_INDEX + getSymmetricColumnIndex(column)) >= 0;
}
@Override
protected int getIconColor() {
return Color.rgb(getByte(0) + 128, getByte(1) + 128, getByte(2) + 128);
}
};
}