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="horizontal">
9 <!-- TODO: Update blank fragment layout -->
12 android:layout_width="wrap_content"
13 android:layout_height="match_parent"
14 android:id="@+id/scrollView"
15 android:layout_weight="2" >
18 android:orientation="vertical"
19 android:layout_width="wrap_content"
20 android:layout_height="match_parent"
21 android:layout_weight="2">
23 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
24 android:id="@+id/card_timetable"
25 android:layout_width="match_parent"
26 android:layout_height="160dp"
27 android:layout_margin="8dp">
30 android:layout_width="match_parent"
31 android:layout_height="match_parent">
34 android:layout_width="fill_parent"
35 android:layout_height="70dp"
36 android:id="@+id/imageView4"
37 android:layout_alignParentTop="true"
38 android:layout_alignParentLeft="true"
39 android:layout_alignParentStart="true"
40 android:src="@drawable/header_kalender"
41 android:scaleType="fitXY" />
44 android:id="@+id/title"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
49 android:text="@string/dashboard_calendar_title"
50 android:textColor="#222"
51 android:textStyle="bold"
52 android:textSize="22dp" />
55 android:layout_width="match_parent"
56 android:layout_height="fill_parent"
57 android:name="de.dhbwloe.campusapp.fragments.DashboardVorlesungsplan"
58 android:layout_below="@+id/imageView4"
59 android:layout_alignParentLeft="true"
60 android:layout_alignParentStart="true"
61 android:id="@+id/fragment_timetable" />
64 </android.support.v7.widget.CardView>
66 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
67 android:id="@+id/card_mensa"
68 android:layout_width="match_parent"
69 android:layout_height="160dp"
70 android:layout_margin="8dp">
73 android:layout_width="match_parent"
74 android:layout_height="match_parent">
77 android:layout_width="fill_parent"
78 android:layout_height="70dp"
79 android:id="@+id/imageView5"
80 android:layout_alignParentTop="true"
81 android:layout_alignParentLeft="true"
82 android:layout_alignParentStart="true"
83 android:src="@drawable/platzhalter"
84 android:scaleType="fitXY" />
87 android:layout_width="wrap_content"
88 android:layout_height="wrap_content"
91 android:text="@string/dashboard_mensa_title"
92 android:textColor="#222"
93 android:textStyle="bold"
94 android:textSize="22dp"
95 android:id="@+id/textView15" />
98 android:layout_width="match_parent"
99 android:layout_height="fill_parent"
100 android:name="de.dhbwloe.campusapp.fragments.DashboardMensa"
101 android:id="@+id/fragment_mensa"
102 android:layout_below="@+id/imageView5"
103 android:layout_alignParentLeft="true"
104 android:layout_alignParentStart="true" />
107 </android.support.v7.widget.CardView>
112 android:orientation="vertical"
113 android:layout_width="300dp"
114 android:layout_height="fill_parent"
115 android:layout_weight="1">
117 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
118 android:id="@+id/card_view2"
119 android:layout_width="match_parent"
120 android:layout_height="140dp"
121 android:layout_margin="8dp"
122 android:layout_weight="1">
125 android:layout_width="match_parent"
126 android:layout_height="match_parent">
129 android:layout_width="wrap_content"
130 android:layout_height="60dp"
131 android:id="@+id/imageView6"
132 android:layout_alignParentTop="true"
133 android:layout_alignParentLeft="true"
134 android:layout_alignParentStart="true"
135 android:src="@drawable/header_dhbw"
136 android:scaleType="fitCenter" />
139 android:layout_width="match_parent"
140 android:layout_height="fill_parent"
141 android:name="de.dhbwloe.campusapp.fragments.DashboardNewsDhbw"
142 android:id="@+id/fragment_dhbw"
143 android:layout_below="@+id/imageView6"
144 android:layout_alignParentLeft="true"
145 android:layout_alignParentStart="true" />
148 </android.support.v7.widget.CardView>
150 <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
151 android:id="@+id/card_view3"
152 android:layout_width="wrap_content"
153 android:layout_height="140dp"
154 android:layout_margin="8dp"
155 android:layout_weight="1">
158 android:layout_width="match_parent"
159 android:layout_height="match_parent">
162 android:layout_width="wrap_content"
163 android:layout_height="60dp"
164 android:id="@+id/imageView7"
165 android:layout_alignParentTop="true"
166 android:layout_alignParentLeft="true"
167 android:layout_alignParentStart="true"
168 android:src="@drawable/header_stuv"
169 android:scaleType="fitCenter" />
172 android:layout_width="match_parent"
173 android:layout_height="fill_parent"
174 android:name="de.dhbwloe.campusapp.fragments.DashboardNewsStuv"
175 android:id="@+id/fragment_stuv"
176 android:layout_below="@+id/imageView7"
177 android:layout_alignParentLeft="true"
178 android:layout_alignParentStart="true" />
181 </android.support.v7.widget.CardView>