spamec
spamec

Reputation: 311

Specific layout with ViewFlipper

I'm beginning Android development and I'm dealing with layout, ViewFlipper and aligmnent of elements... I tried to accomplish layout below with LinearLayout and TableLayout in it, but alignment of Boxes was a mess.

    ------------------------------------------------------------
    |                          Title                           |
    |                                                          |
    |-----------------------ViewFlipper------------------------|
    |         |                    |                 |         |
    |         |      Box    1      |      Box  2     |         |
    |         |                    |                 |         |
    |    <    |--------------------------------------|    >    |
    |         |                    |                 |         |
    |         |      Box    3      |      Box  4     |         |
    |         |                    |                 |         |
    ------------------------------------------------------------

For any help I'll be grateful :)

Upvotes: 0

Views: 141

Answers (1)

BFil
BFil

Reputation: 13096

Try with RelativeLayouts, it should be simpler

Relative Layout

Upvotes: 1

Related Questions