SplashScreen Bild Skalierung entfernt: Unnötiger Speicherfresser
[DHBWCampusApp.git] / app / src / main / res / layout / fragment_splashscreen.xml
index d80dfcb2b8a265f0a880d7a03a6177d795121581..b31def9a4ddf5a98b4f3c9d96ba83a527b76b33e 100644 (file)
@@ -8,7 +8,7 @@
 
     <ImageView
         android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
+        android:layout_height="match_parent"
         android:id="@+id/splashImage"
         android:layout_centerVertical="true"
         android:layout_centerHorizontal="true"
         android:layout_above="@+id/splashProgress"
         android:layout_centerHorizontal="true" />
 
+    <TextView
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:text="{version}"
+        android:id="@+id/version"
+        android:layout_above="@+id/splashProgress"
+        android:layout_alignParentRight="true"
+        android:layout_alignParentEnd="true"
+        android:layout_marginRight="8dp" />
+
 </RelativeLayout>