a99cc88fdc9e02d4220a6ab24ec710558a6f1488
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_news.xml
1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2     xmlns:tools="http://schemas.android.com/tools"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     tools:context="de.dhbwloe.campusapp.fragments.News"
6     android:orientation="vertical">
7
8     <!-- TODO: Update blank fragment layout -->
9
10     <LinearLayout
11         android:layout_width="match_parent"
12         android:layout_height="30dp"
13         android:orientation="horizontal">
14
15         <CheckBox
16             android:layout_width="wrap_content"
17             android:layout_height="wrap_content"
18             android:text="@string/news_toggle_dhbw"
19             android:id="@+id/showDhbwNews"
20             android:layout_marginLeft="8dp"
21             android:layout_marginRight="8dp"
22             android:checked="true" />
23
24         <CheckBox
25             android:layout_width="wrap_content"
26             android:layout_height="wrap_content"
27             android:text="@string/news_toggle_stuv"
28             android:id="@+id/showStuvNews"
29             android:layout_marginLeft="8dp"
30             android:layout_marginRight="8dp"
31             android:checked="true" />
32
33         <CheckBox
34             android:layout_width="wrap_content"
35             android:layout_height="wrap_content"
36             android:text="@string/news_toggle_stuv_events"
37             android:id="@+id/showStuvEvents"
38             android:layout_marginLeft="8dp"
39             android:layout_marginRight="8dp"
40             android:checked="true" />
41     </LinearLayout>
42
43     <ListView
44         android:layout_width="match_parent"
45         android:layout_height="wrap_content"
46         android:id="@+id/newsListView"
47         android:layout_gravity="center_horizontal" />
48 </LinearLayout>