Commit 78d01152 authored by Grigory Fedorov's avatar Grigory Fedorov

Account color corrections.

parent efc5f242
...@@ -153,7 +153,6 @@ public abstract class GroupedContactAdapter<Inflater extends BaseContactInflater ...@@ -153,7 +153,6 @@ public abstract class GroupedContactAdapter<Inflater extends BaseContactInflater
final int level; final int level;
if (configuration instanceof AccountConfiguration) { if (configuration instanceof AccountConfiguration) {
level = AccountManager.getInstance().getColorLevel(configuration.getAccount()); level = AccountManager.getInstance().getColorLevel(configuration.getAccount());
viewHolder.name.setTextColor(expanderAccountTextColor);
view.setBackgroundDrawable(new ColorDrawable(accountActionBarColors[level])); view.setBackgroundDrawable(new ColorDrawable(accountActionBarColors[level]));
} else { } else {
view.setBackgroundDrawable( view.setBackgroundDrawable(
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<array name="account_action_bar"> <array name="account_action_bar">
<item>@color/green_500</item> <item>@color/teal_500</item>
<item>@color/yellow_500</item> <item>@color/deep_orange_500</item>
<item>@color/red_500</item> <item>@color/pink_500</item>
<item>@color/blue_500</item> <item>@color/dark_purple_500</item>
</array> </array>
<array name="account_status_bar"> <array name="account_status_bar">
<item>@color/green_700</item> <item>@color/teal_700</item>
<item>@color/yellow_700</item> <item>@color/deep_orange_700</item>
<item>@color/red_700</item> <item>@color/pink_700</item>
<item>@color/blue_700</item> <item>@color/dark_purple_700</item>
</array> </array>
<color name="account_disabled">@color/black_dividers</color> <color name="account_disabled">@color/black_dividers</color>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment