ANTI_ALIAS_FLAG for ImageView within layout?

前端 未结 2 2377
我在风中等你
我在风中等你 2021-02-20 17:40

Does anyone know how to apply the ANTI_ALIAS_FLAG to ImageView\'s in layouts rather than in Java?

2条回答
  •  没有蜡笔的小新
    2021-02-20 18:16

    2013-year-way: declare special xml resource describing ImageView's content. For example we want an ImageView to contain antialiased Bitmap. So we need to write somethig like this:

    
    

提交回复
热议问题