Swipecards icon indicating copy to clipboard operation
Swipecards copied to clipboard

AntiAliasing when Moving the Card?

Open passionli opened this issue 10 years ago • 5 comments

hey,man I'm using this awsome library these days.And I find that at the MotionEvent.Action_Move event,when the frame's rotation is large,the frame has antialiasing.Because of this,the card looks not so beautiful. I know this is not a bug.Maybe it's a enhance? image

passionli avatar Nov 28 '14 02:11 passionli

Indeed that's happening also with the example. Would you like to try this trick? http://stackoverflow.com/questions/9730249/canvas-antialiasing-with-hardware-acceleration-android-api-11-and-later

If you find a solution I would be glad to merge it.

Diolor avatar Nov 28 '14 22:11 Diolor

Same trouble

progfiles avatar Jan 09 '15 13:01 progfiles

view.setLayerType(View.LAYER_TYPE_SOFTWARE, null); it is help for me

progfiles avatar Jan 09 '15 18:01 progfiles

@Diolor , @passionli So what's the best way to resolve this issue, I have tried giving padding to the imageView in xml by padding="1dp". But it didn't worked for me.... Hey @progfiles I didn't get your solution, I tried ImageView.setLayerType(ImageView.LAYER_TYPE_SOFTWARE, null); but didn't work...

jainrocks avatar Apr 09 '15 13:04 jainrocks

any updates on this?

vleango avatar Aug 05 '15 08:08 vleango