hjmmc commented on issue #2039: make android support anti-aliased image
URL: https://github.com/apache/incubator-weex/pull/2039#issuecomment-455023060
 
 
   > I reproduce the problem on my Android 9 phone, but it works well on my 
Android 6 phone, it seems like to a bug in Android system.
   > 
   > Anyway, I suggest you add the following code snippet in the [corresponding 
line](https://github.com/YorkShen/incubator-weex/blob/2f8caedb147b13182647a1dab473ba9cb31e54e4/android/sdk/src/main/java/com/taobao/weex/utils/ImageDrawable.java#L51):
   > 
   > ```
   >  imageDrawable.getPaint().setFilterBitmap(true);
   > ```
   > It works as expected on my Android 9 phone.
   
   okay

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to