开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜