开发者

Android - Setting X and Y coordinates to view in runtime

开发者 https://www.devze.com 2023-03-28 04:15 出处:网络
I have my own created class that extends class View. I need to set the X and Y coordinates and add my view in开发者_开发问答 runtime.

I have my own created class that extends class View. I need to set the X and Y coordinates and add my view in开发者_开发问答 runtime.

adding it is OK. My question is:

Is there a way to set X and Y without the use of AbsoluteLayout params?

(I didn't found any other options of setX/setY in other layout params).

Thanks in Advance, Amigal

0

精彩评论

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