Loading tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java +1 −1 Original line number Diff line number Diff line Loading @@ -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); } } } Loading Loading
tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/CustomBar.java +1 −1 Original line number Diff line number Diff line Loading @@ -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); } } } Loading