android:onClick="showContacts"
/>
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:id="@+id/imgComponent"
- android:layout_weight="0.95"
- android:layout_gravity="center_vertical"
- android:scaleType="center"/>
+ <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:id="@+id/imgComponent"
+ android:layout_gravity="center_vertical"
+ android:scaleType="center"/>
+
+ <RelativeLayout
+ android:layout_width="73dp"
+ android:layout_height="match_parent"
+ android:id="@+id/progress_container"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentEnd="true"
+ android:layout_alignParentStart="true"
+ android:layout_alignParentLeft="true"
+ android:layout_alignParentRight="true">
+
+ <ProgressBar
+ style="?android:attr/progressBarStyleLarge"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/progressBar2"
+ android:layout_centerVertical="true"
+ android:layout_centerHorizontal="true"/>
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:text="@string/loading_page"
+ android:id="@+id/textView6"
+ android:layout_below="@+id/progressBar2"
+ android:layout_alignStart="@+id/progressBar2"
+ android:layout_alignLeft="@+id/progressBar2"/>
+
+ </RelativeLayout>
+ </RelativeLayout>
</LinearLayout>