- android:layout_height="60dp"
- android:id="@+id/imageView7"
- android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:src="@drawable/header_stuv"
- android:scaleType="fitCenter" />
-
- <fragment
- android:layout_width="match_parent"
- android:layout_height="fill_parent"
- android:name="de.dhbwloe.campusapp.fragments.DashboardNewsStuv"
- android:id="@+id/fragment_stuv"
- android:layout_below="@+id/imageView7"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- tools:layout="@layout/fragment_dashboard_news_none" />
-
- </RelativeLayout>
- </android.support.v7.widget.CardView>
-
- </LinearLayout>
+ android:layout_height="140dp"
+ android:layout_margin="8dp"
+ android:layout_weight="1"
+ card_view:cardCornerRadius="5dp">
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="60dp"
+ android:id="@+id/imageView6"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
+ android:src="@drawable/header_dhbw"
+ android:scaleType="fitCenter" />
+
+ <fragment
+ android:layout_width="match_parent"
+ android:layout_height="fill_parent"
+ android:name="de.dhbwloe.campusapp.fragments.DashboardNewsDhbw"
+ android:id="@+id/fragment_dhbw"
+ android:layout_below="@+id/imageView6"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
+ tools:layout="@layout/fragment_dashboard_news_entry" />
+
+ </RelativeLayout>
+ </android.support.v7.widget.CardView>
+
+ <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/card_view3"
+ android:layout_width="wrap_content"
+ android:layout_height="140dp"
+ android:layout_margin="8dp"
+ android:layout_weight="1"
+ card_view:cardCornerRadius="5dp">
+
+ <RelativeLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ImageView
+ android:layout_width="wrap_content"
+ android:layout_height="60dp"
+ android:id="@+id/imageView7"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
+ android:src="@drawable/header_stuv"
+ android:scaleType="fitCenter" />
+
+ <fragment
+ android:layout_width="match_parent"
+ android:layout_height="fill_parent"
+ android:name="de.dhbwloe.campusapp.fragments.DashboardNewsStuv"
+ android:id="@+id/fragment_stuv"
+ android:layout_below="@+id/imageView7"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentStart="true"
+ tools:layout="@layout/fragment_dashboard_news_none" />
+
+ </RelativeLayout>
+ </android.support.v7.widget.CardView>
+
+ </LinearLayout>
+ </LinearLayout>
+ </ScrollView>