开发者

Android activity without layout

Is there any way to make Android layout with totally independent position of controls? Something like "free" layout in Java. I would like a layout in which position of controls w开发者_运维百科ouldn't depend on anything other then position on which i dropped them from toolbox. Is something like that possible in Android app?


Sure, RelativeLayout allows you to place your controls whereever you want on the display


I think what you want is the AbsoluteLayout which lets you specify the exact X and Y locations of the controls.

http://developer.android.com/reference/android/widget/AbsoluteLayout.html


Your choice would be:

http://developer.android.com/reference/android/widget/AbsoluteLayout.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜