newtonker
Results
2
issues of
newtonker
当前的贴纸已经有了删除和拉伸旋转的功能,如果贴纸再增加镜像功能,楼主能给些建议吗? 项目中StickerDrawable是继承了BitmapDrawable,在BitmapDrawable或者Drawable中都没有给出重新设置bitmap的方法,Drawable中给出的setAutoMirror()和getLayoutDirection()是在api19和api23才加入的,低版本的情况下(如api14)没法使用。现在能想到的两个方案,一个是每次镜像的时候都重新生成一个StickerDrawable,然后设置给StickerView;或者就修改组件,不在使用StickerDrawable存放bitmap了,改成诸如ImageView之类的组件。
a question about the method displayImage(url, ..); in the UIL, we use the url to check whether there is cache in memory or on disk, and we also use the...