Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8a0b8e6 authored by Xavier Ducrohet's avatar Xavier Ducrohet
Browse files

Fix a setBackgroundDrawable in layoutlib.

Change-Id: Id5f3ec8cc6863fa5929743ef4014c331633efce9
parent c10cd4a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ abstract class CustomBar extends LinearLayout {
                if (bitmap != null) {
                    BitmapDrawable drawable = new BitmapDrawable(getContext().getResources(),
                            bitmap);
                    imageView.setBackgroundDrawable(drawable);
                    imageView.setImageDrawable(drawable);
                }
            }
        }