alpha 0.0.1
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_vorlesungsplan.xml
index 69d2dcefe98ee8c7b4b5827cb7f63a00aa3fac1b..a87634ba57e8af35176e368388355a2b5b877b52 100644 (file)
@@ -1,13 +1,36 @@
-<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>