Grundaufbau der App
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_appsearch.xml
1 <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     xmlns:app="http://schemas.android.com/apk/res-auto"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent">
5
6     <android.support.design.widget.AppBarLayout
7         android:layout_width="match_parent"
8         android:layout_height="wrap_content"
9         android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
10
11         <android.support.design.widget.TabLayout
12             android:id="@+id/tabs"
13             android:layout_width="match_parent"
14             android:layout_height="wrap_content"
15             app:tabMode="scrollable"
16             />
17     </android.support.design.widget.AppBarLayout>
18
19     <android.support.v4.view.ViewPager
20         android:id="@+id/viewpager"
21         android:layout_width="match_parent"
22         android:layout_height="match_parent"
23         app:layout_behavior="@string/appbar_scrolling_view_behavior"  />
24 </android.support.design.widget.CoordinatorLayout>