0

I want to create jugnoon like mapview and below that viewpager as shown in image for sample. Any hint or idea or sample would be helpful. I am not able to understand where to start. I tried frame layout, relative layout but it all failed.enter image description here

brjichkar
  • 33
  • 7

1 Answers1

1

Your question is not entirely clear to me but I suggest using a linear layout and assigning weight sum to it and provide weight for individual layouts according to the weight sum of the linear layout. A rough example would be assigning a weight sum of 10 to the linear layout and set weight of your map layout to 7 and 3 for the tab layout and whatever comes underneath it. Hope this helps.

  • Please check image attach to question. i want to implement that with within scroll view. For that UI i need guidance. – brjichkar Feb 19 '16 at 03:57
  • Yes, my answer is based on that only. Use a Linear layout as parent layout. Assign a weightsum to that layout. Give weight to the child layouts as required. Your child layouts would be a frame layout and a relative layout containing tab layout. If you are not familiar with the concept of weightsum try this link http://stackoverflow.com/questions/7452741/what-is-androidweightsum-in-android-and-how-does-it-work – Sreejith tk Feb 19 '16 at 04:45