Replaced tabs in the main Activity with viewpager

This commit is contained in:
daniel oeh
2012-07-01 12:34:10 +02:00
parent 8b5a7d8a41
commit 364e9e1c5c
2 changed files with 64 additions and 99 deletions

View File

@ -4,11 +4,11 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<FrameLayout
android:id="@+id/main_fragment"
<android.support.v4.view.ViewPager
android:id="@+id/viewpager"
android:layout_width="match_parent"
android:layout_height="0px"
android:layout_weight="1">
</FrameLayout>
</android.support.v4.view.ViewPager>
</LinearLayout>