Added Android code
[wl-app.git] / Android / app / src / main / res / layout / zoom_item.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3                 xmlns:tools="http://schemas.android.com/tools"
4                 android:layout_width="match_parent"
5                 android:layout_height="match_parent"
6                 android:background="@color/colorPrimary">
7
8     <it.sephiroth.android.library.imagezoom.ImageViewTouch
9         android:id="@+id/ivPointPhoto"
10         android:layout_width="match_parent"
11         android:layout_height="match_parent"
12         tools:ignore="ContentDescription"/>
13
14     <ProgressBar
15         android:id="@+id/pbLoading"
16         style="@style/Base.Widget.AppCompat.ProgressBar"
17         android:layout_width="wrap_content"
18         android:layout_height="wrap_content"
19         android:layout_centerInParent="true"
20         android:theme="@style/CircularProgress"/>
21
22     <TextView
23         android:id="@+id/tvLoading"
24         android:layout_width="wrap_content"
25         android:layout_height="wrap_content"
26         android:layout_below="@id/pbLoading"
27         android:layout_centerHorizontal="true"
28         android:layout_marginTop="5dp"
29         android:text="@string/loading"
30         android:textAllCaps="true"
31         android:textColor="@color/white"
32         android:textSize="16dp"
33         tools:ignore="SpUsage"/>
34
35     <Button
36         android:id="@+id/btnRetry"
37         style="@style/RoundedButton.WhiteBorder"
38         android:layout_width="wrap_content"
39         android:layout_height="wrap_content"
40         android:layout_centerInParent="true"
41         android:paddingLeft="50dp"
42         android:paddingRight="50dp"
43         android:text="@string/load_again"
44         android:visibility="gone"/>
45
46 </RelativeLayout>