beta 0.1.1
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_dashboard_news_entry.xml
diff --git a/app/src/main/res/layout/fragment_dashboard_news_entry.xml b/app/src/main/res/layout/fragment_dashboard_news_entry.xml
new file mode 100644 (file)
index 0000000..e44b17a
--- /dev/null
@@ -0,0 +1,27 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:tools="http://schemas.android.com/tools"
+    android:layout_width="match_parent"
+    android:layout_height="match_parent"
+    tools:context="de.dhbwloe.campusapp.fragments.DashboardNewsDhbw"
+    android:padding="8dp">
+
+    <!-- TODO: Update blank fragment layout -->
+
+    <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="{date}"
+        android:id="@+id/newsDate"
+        android:layout_alignParentTop="true"
+        android:layout_alignParentLeft="true"
+        android:layout_alignParentStart="true" />
+
+    <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="{title}"
+        android:id="@+id/newsTitle"
+        android:layout_below="@+id/newsDate"
+        android:layout_alignLeft="@+id/newsDate"
+        android:layout_alignStart="@+id/newsDate" />
+</RelativeLayout>