Android setImageDrawable set ImageView in default position?
Is it true?
More than that s.layout(x1, y1, x2, y2);
dont work after setI开发者_如何学GomageDrawable.
I just want move and rotate Image? Help me please!
If you want to resize you can use the setLayoutParams in your ImageView.
Translate should be in your layout, if you want update it while running you should implement it onDraw in a View.
Rotate can be done in the Canvas at onDraw too.
精彩评论