Added Android code
[wl-app.git] / Android / app / src / main / res / layout / fragment_single_news_gallery_item.xml
diff --git a/Android/app/src/main/res/layout/fragment_single_news_gallery_item.xml b/Android/app/src/main/res/layout/fragment_single_news_gallery_item.xml
new file mode 100644 (file)
index 0000000..4d79d5f
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<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">
+
+    <ProgressBar
+        android:id="@+id/pbImageLoading"
+        style="@style/Base.Widget.AppCompat.ProgressBar"
+        android:layout_width="wrap_content"
+        android:layout_height="wrap_content"
+        android:layout_centerInParent="true"/>
+
+    <ImageView
+        android:id="@+id/tvGalleryImage"
+        android:layout_width="match_parent"
+        android:layout_height="match_parent"
+        android:scaleType="centerCrop"
+        tools:ignore="ContentDescription"/>
+</RelativeLayout>
\ No newline at end of file