fragment_download.xml 1.26 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:background="@drawable/bgpic_3"
    android:layout_width="match_parent"
    android:layout_height="match_parent" >

     <View
         android:id="@+id/middle"
         android:layout_width="match_parent"
         android:layout_height="0dp"
         android:layout_centerVertical="true"/>

     <ImageView
         android:id="@+id/download_img"
         android:layout_width="200dp"
         android:layout_height="200dp"
         android:layout_centerHorizontal="true"
         android:layout_above="@id/middle"
         android:src="@drawable/downloading"/>
    
     <TextView 
         android:id="@+id/download_title"
         android:text="@string/connect_server_ing"
          android:textSize="@dimen/big_text_p1"
          android:textColor="@color/white"
         android:textStyle="bold"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:layout_marginLeft="@dimen/button_width"
         android:layout_marginRight="@dimen/button_width"
         android:layout_centerHorizontal="true"
         android:layout_below="@id/middle"
         android:layout_marginTop="40dp"/>

</RelativeLayout>