replace the big icon with a drawable layer list

This commit is contained in:
tibbi
2016-08-30 20:49:35 +02:00
parent bc02c56d25
commit 5f5803d1a7
8 changed files with 45 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ public class MainActivity extends SimpleActivity {
private void changeIconColor(int colorId, ImageView imageView) {
final int appColor = getResources().getColor(colorId);
imageView.getDrawable().mutate().setColorFilter(appColor, PorterDuff.Mode.SRC_IN);
imageView.getDrawable().mutate().setColorFilter(appColor, PorterDuff.Mode.SRC_ATOP);
}
@Subscribe