]> git.ktnx.net Git - mobile-ledger.git/commit
profile editor: offer a suitable color for new profiles
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 25 Jan 2020 12:55:46 +0000 (14:55 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 25 Jan 2020 12:55:46 +0000 (14:55 +0200)
commitd8647570ecf462b2061cbfbf93416e422ca26611
tree19c9574b6d2766d8964a55c5677a581df02b487f
parent3b48622074fe2d9bd481601a745e819cd171aa60
profile editor: offer a suitable color for new profiles

suitable is defined as the color standing most away of all other profiles'
colors
app/src/main/java/net/ktnx/mobileledger/ui/activity/ProfileDetailActivity.java
app/src/main/java/net/ktnx/mobileledger/ui/profiles/ProfileDetailFragment.java
app/src/main/java/net/ktnx/mobileledger/utils/Colors.java