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
精彩评论