Monday 15 June 2015

android - Using ImageView and Swipe View in a single linear layout -


I want my layout in this form:
An image view at the top, then swipe the tab.

I created a tabbed activity; There is a tag in the activity.xml file

  & lt; Android.support.v4.view.ViewPager / & gt; With its properties,  

.
I have tried to put this tag inside a linear layout.

  LinearLayout ImageView & lt; Android.support.v4.view .ViewPager / & gt;  

But ImageView goes inside all the pieces.

Instead, I want to be at the top of it

Please help, thanks in advance.


No comments:

Post a Comment