beta 0.1.1
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_dashboard_mensa_menu.xml
index d1e388ad59b5f088d5d254b45585fa14a3bc2434..70751f0ab3739f95f13bab669a7f4282979d9516 100644 (file)
@@ -1,14 +1,14 @@
-<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"
@@ -27,7 +27,8 @@
         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"
@@ -38,4 +39,5 @@
         android:layout_alignParentRight="true"
         android:layout_alignParentEnd="true"
         android:textColor="@color/color_dhbw_darkred" />
-</RelativeLayout>
+
+</LinearLayout>