mutate() BitmapDrawable before directly editing
ExpandingEntryCardView directly modifies BitmapDrawables instead of calling ImageView#setTint(). This was convenient, but had the side affect of preventing re-use of these BitmapDrawables with different tints. Now that we want to share the same BitmapDrawables inside the edit screen, we need to call mutate() on these drawables before editing them in order to avoid affecting the tint in the edit screen. Alternatively, we could change ExpandingEntryCardView to use ImageView#setTint() instead. But this is more work. Bug: 18004959 Change-Id: I5c0e33348cf538a69a10802a6205ad36fc548d54
Loading
Please register or sign in to comment