AbsoluteLayout is based on the simple idea of placing each control at
an absolute position. You specify the exact x and y coordinates on the
screen for each control. This is not recommended for most UI
development (in fact AbsoluteLayout is currently deprecated) since
absolutely positioning every element on the screen makes an inflexible
UI that is much more difficult to maintain. Consider what happens if a
control needs to be added to the UI. You would have to change the
position of every single element that is shifted by the new control.
Here is a sample Layout XML using AbsoluteLayout.
Here is a sample Layout XML using AbsoluteLayout.
0 comments:
Post a Comment