Merge branch 'identicon-contrast' into 'master'
Increase contrast between identicons and background Identicons currently have a dark or light background depending on the V component of the foreground colour. But V isn't a great measure of brightness - cyan looks much brighter than blue with the same V, for example. This leads to some identicons having low contrast between the foreground and background. This patch scales the R, G and B components of the foreground colour to 3/4 of the full range and sets the background to white, so there's always good contrast between the foreground and background. The patch also adds a 1dp outline around identicons and adds some padding to the identity selection dropdown. Before:  After:  See merge request !100
No related branches found
No related tags found
Showing
- briar-android/res/layout/author_view.xml 4 additions, 1 deletionbriar-android/res/layout/author_view.xml
- briar-android/res/layout/dropdown_author.xml 6 additions, 3 deletionsbriar-android/res/layout/dropdown_author.xml
- briar-android/res/layout/list_item_contact.xml 4 additions, 1 deletionbriar-android/res/layout/list_item_contact.xml
- briar-android/res/layout/list_item_msg_in.xml 3 additions, 1 deletionbriar-android/res/layout/list_item_msg_in.xml
- briar-android/res/values/dimens.xml 2 additions, 3 deletionsbriar-android/res/values/dimens.xml
- briar-android/src/im/delight/android/identicons/AsymmetricIdenticon.java 0 additions, 6 deletions...rc/im/delight/android/identicons/AsymmetricIdenticon.java
- briar-android/src/im/delight/android/identicons/IdenticonBase.java 8 additions, 7 deletions...roid/src/im/delight/android/identicons/IdenticonBase.java
- briar-android/src/im/delight/android/identicons/IdenticonDrawable.java 0 additions, 6 deletions.../src/im/delight/android/identicons/IdenticonDrawable.java
- briar-android/src/im/delight/android/identicons/IdenticonView.java 0 additions, 4 deletions...roid/src/im/delight/android/identicons/IdenticonView.java
- briar-android/src/im/delight/android/identicons/SymmetricIdenticon.java 0 additions, 6 deletions...src/im/delight/android/identicons/SymmetricIdenticon.java
Loading
Please register or sign in to comment