1 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2 xmlns:tools="http://schemas.android.com/tools"
3 xmlns:card_view="http://schemas.android.com/apk/res-auto"
4 android:layout_width="match_parent"
5 android:layout_height="match_parent"
6 tools:context=".fragments.Dashboard"
7 android:orientation="vertical">
9 <!-- TODO: Update blank fragment layout -->
11 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
12 android:id="@+id/card_timetable"
13 android:layout_width="match_parent"
14 android:layout_height="180dp"
15 android:layout_margin="8dp"
16 card_view:cardCornerRadius="5dp">
19 android:layout_width="match_parent"
20 android:layout_height="match_parent">
23 android:layout_width="fill_parent"
24 android:layout_height="70dp"
25 android:id="@+id/imageView4"
26 android:layout_alignParentTop="true"
27 android:layout_alignParentLeft="true"
28 android:layout_alignParentStart="true"
29 android:src="@drawable/header_kalender"
30 android:scaleType="fitXY" />
33 android:id="@+id/title"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
38 android:text="@string/dashboard_calendar_title"
39 android:textColor="#222"
40 android:textStyle="bold"
41 android:textSize="22dp" />
44 android:layout_width="match_parent"
45 android:layout_height="fill_parent"
46 android:name="de.dhbwloe.campusapp.fragments.DashboardVorlesungsplan"
47 android:layout_below="@+id/imageView4"
48 android:layout_alignParentLeft="true"
49 android:layout_alignParentStart="true"
50 android:id="@+id/fragment_timetable"
51 tools:layout="@layout/fragment_dashboard_timetable" />
54 </android.support.v7.widget.CardView>
56 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
57 android:id="@+id/card_mensa"
58 android:layout_width="match_parent"
59 android:layout_height="180dp"
60 android:layout_margin="8dp"
61 card_view:cardCornerRadius="5dp">
64 android:layout_width="match_parent"
65 android:layout_height="match_parent">
68 android:layout_width="fill_parent"
69 android:layout_height="70dp"
70 android:id="@+id/imageView5"
71 android:layout_alignParentTop="true"
72 android:layout_alignParentLeft="true"
73 android:layout_alignParentStart="true"
74 android:src="@drawable/platzhalter"
75 android:scaleType="fitXY" />
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
82 android:text="@string/dashboard_mensa_title"
83 android:textColor="#222"
84 android:textStyle="bold"
85 android:textSize="22dp"
86 android:id="@+id/textView15" />
89 android:layout_width="match_parent"
90 android:layout_height="fill_parent"
91 android:name="de.dhbwloe.campusapp.fragments.DashboardMensa"
92 android:id="@+id/fragment_mensa"
93 android:layout_below="@+id/imageView5"
94 android:layout_alignParentLeft="true"
95 android:layout_alignParentStart="true"
96 tools:layout="@layout/fragment_dashboard_mensa_menu" />
99 </android.support.v7.widget.CardView>
102 android:orientation="horizontal"
103 android:layout_width="match_parent"
104 android:layout_height="wrap_content">
106 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
107 android:id="@+id/card_view2"
108 android:layout_width="wrap_content"
109 android:layout_height="140dp"
110 android:layout_margin="8dp"
111 android:layout_weight="1"
112 card_view:cardCornerRadius="5dp">
115 android:layout_width="match_parent"
116 android:layout_height="match_parent">
119 android:layout_width="wrap_content"
120 android:layout_height="60dp"
121 android:id="@+id/imageView6"
122 android:layout_alignParentTop="true"
123 android:layout_alignParentLeft="true"
124 android:layout_alignParentStart="true"
125 android:src="@drawable/header_dhbw"
126 android:scaleType="fitCenter" />
129 android:layout_width="match_parent"
130 android:layout_height="fill_parent"
131 android:name="de.dhbwloe.campusapp.fragments.DashboardNewsDhbw"
132 android:id="@+id/fragment_dhbw"
133 android:layout_below="@+id/imageView6"
134 android:layout_alignParentLeft="true"
135 android:layout_alignParentStart="true"
136 tools:layout="@layout/fragment_dashboard_news_dhbw" />
139 </android.support.v7.widget.CardView>
141 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
142 android:id="@+id/card_view3"
143 android:layout_width="wrap_content"
144 android:layout_height="140dp"
145 android:layout_margin="8dp"
146 android:layout_weight="1"
147 card_view:cardCornerRadius="5dp">
150 android:layout_width="match_parent"
151 android:layout_height="match_parent">
154 android:layout_width="wrap_content"
155 android:layout_height="60dp"
156 android:id="@+id/imageView7"
157 android:layout_alignParentTop="true"
158 android:layout_alignParentLeft="true"
159 android:layout_alignParentStart="true"
160 android:src="@drawable/header_stuv"
161 android:scaleType="fitCenter" />
164 android:layout_width="match_parent"
165 android:layout_height="fill_parent"
166 android:name="de.dhbwloe.campusapp.fragments.DashboardNewsStuv"
167 android:id="@+id/fragment_stuv"
168 android:layout_below="@+id/imageView7"
169 android:layout_alignParentLeft="true"
170 android:layout_alignParentStart="true"
171 tools:layout="@layout/fragment_dashboard_news_stuv" />
174 </android.support.v7.widget.CardView>