-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:orientation="vertical"
tools:context="de.dhbwloe.campusapp.fragments.Vorlesungsplan">
- <!-- TODO: Update blank fragment layout -->
- <TextView
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="100dp"
+ android:id="@+id/imageView8"
+ android:src="@drawable/header_kalender"
+ android:scaleType="fitXY"
+ android:background="#000000" />
+
+ <android.support.design.widget.AppBarLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">
+
+ <android.support.design.widget.TabLayout
+ android:id="@+id/tabs"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ app:tabMode="scrollable"
+ />
+ </android.support.design.widget.AppBarLayout>
+
+ <android.support.v4.view.ViewPager
+ android:id="@+id/viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:text="{Vorlesungsplan}" />
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
-</RelativeLayout>
+</LinearLayout>