开发者

Programmatically alignment?

开发者 https://www.devze.com 2023-04-07 02:10 出处:网络
I\'ve attached one image. In that image one checkbox and spinner are in undefined position. I\'m using Absolute layout but 开发者_JAVA百科also, i can\'t fix that to wherever. So, i need to set those b

I've attached one image. In that image one checkbox and spinner are in undefined position. I'm using Absolute layout but 开发者_JAVA百科also, i can't fix that to wherever. So, i need to set those by programmatically. Is this possible? Anyone help me. Thanks in Advance.


Praveen It would be helpful if you put up your XML file. Any way absolute layout class has been deprecated try using frame layout or RelativeLayout. Absolute layouts are less flexible and harder to maintain than other types of layouts without absolute positioning.

0

精彩评论

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

关注公众号