-<RelativeLayout 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:orientation="horizontal"
android:layout_width="match_parent"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
tools:context="de.dhbwloe.campusapp.fragments.DashboardMensa"
android:paddingLeft="8dp"
android:paddingTop="4dp"
android:paddingBottom="4dp"
android:paddingRight="8dp">
-
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_toRightOf="@+id/textView18"
android:layout_toEndOf="@+id/textView18"
- android:layout_marginLeft="8dp" />
+ android:layout_marginLeft="8dp"
+ android:layout_weight="1" />
<TextView
android:layout_width="wrap_content"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:textColor="@color/color_dhbw_darkred" />
-</RelativeLayout>
+
+</LinearLayout>