-<FrameLayout 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"
android:layout_width="match_parent"
android:layout_height="match_parent"
- tools:context="de.dhbwloe.campusapp.fragments.News">
+ tools:context="de.dhbwloe.campusapp.fragments.News"
+ android:orientation="vertical">
<!-- TODO: Update blank fragment layout -->
- <TextView
+
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="{News}" />
+ android:layout_height="30dp"
+ android:orientation="horizontal">
+
+ <CheckBox
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/news_toggle_dhbw"
+ android:id="@+id/showDhbwNews"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:checked="true" />
+
+ <CheckBox
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/news_toggle_stuv"
+ android:id="@+id/showStuvNews"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:checked="true" />
-</FrameLayout>
+ <CheckBox
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/news_toggle_stuv_events"
+ android:id="@+id/showStuvEvents"
+ android:layout_marginLeft="8dp"
+ android:layout_marginRight="8dp"
+ android:checked="true" />
+ </LinearLayout>
+
+ <ListView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:id="@+id/newsListView"
+ android:layout_gravity="center_horizontal" />
+</LinearLayout>