开发者

Customize setbound value for viewing original image size

image.setBounds((getWi开发者_Python百科dth()/2)-zoomControler, (getHeight()/2)-zoomControler,
                (getWidth()/2)+zoomControler, (getHeight()/2)+zoomControler);

i want to set bounds value for original image size,how can i set the value for display original image size


drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜