0

I have one problem in my program. I am creating one screen including:

  • groups(include 1 picture (4) + 1 textview (3)) and they are stacked
  • when I slide right or left hand (above or below)
    • the group will fly and disappear
    • and the other group appears

This is what it should look like:

my screen

What's a good way to do this?

Ben Weiss
  • 17,182
  • 6
  • 67
  • 87
NhamPD
  • 3
  • 3

1 Answers1

0

extends FrameLayout and modify the onMeasure, onLayout.

afpro
  • 1,103
  • 7
  • 12
  • hi, i'm newbie, Can you give me example ? – NhamPD Sep 19 '13 at 00:47
  • it's too complex to write code here. onMeasure determin child view's size, onLayout tell them where they go. that's almost all of andorid view framework. – afpro Sep 19 '13 at 04:10