-
Notifications
You must be signed in to change notification settings - Fork 499
Open
Description
Original version: protected void initImage() { if(this.drawable != null) { this.drawable.setAlpha(alpha); this.drawable.setFilterBitmap(true); if(colorFilter != null) { this.drawable.setColorFilter(colorFilter); } } if(!layout) { requestLayout(); redraw(); } } Fixed version: protected void initImage() { if(this.drawable != null) { this.drawable.setAlpha(alpha); this.drawable.setFilterBitmap(true); if(colorFilter != null) { this.drawable.setColorFilter(colorFilter); } } if(!layout) { requestLayout(); } else { drawable.setBounds(-hWidth,-hHeight,hWidth,hHeight); } redraw(); }
Metadata
Metadata
Assignees
Labels
No labels