project_files/Android-build/SDL-android-project/res/layout/download_progress.xml
author Vittorio Giovara <vittorio.giovara@gmail.com>
Fri, 03 Jan 2014 07:09:28 -0800
changeset 9923 5071f5682733
parent 6433 c8e4b3f29e1e
permissions -rw-r--r--
Merge pull request #7 from LocutusOfBorg/fix-FPIC Fixed fPIC link failure with arm and sparc architectures, fixing issue #757

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:id="@+id/container"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:minWidth="250dip"
    android:padding="5dp"
    android:background="@drawable/box">
    <ProgressBar
    	android:id="@+id/progressbar"
    	android:layout_width="wrap_content"
    	android:layout_height="wrap_content"
    	android:layout_alignParentLeft="true"
    	android:layout_alignParentRight="true"
    	android:progressDrawable="@android:drawable/progress_horizontal"
		android:indeterminate="false" 
		android:indeterminateOnly="false"/>
	<TextView
    	android:id="@+id/progressbar_sub"
    	android:layout_width="wrap_content"
    	android:layout_height="wrap_content"
    	android:layout_below="@id/progressbar"
    	android:layout_alignParentLeft="true"
    	android:layout_alignParentRight="true"
    	android:text="@string/download_queued"
    	android:textColor="#FFF"
    	android:textSize="14dp"
    	android:gravity="center"/> 	
    <!--  <Button
    	android:id="@id/background"
    	android:layout_width="wrap_content"
    	android:layout_height="wrap_content"
    	android:layout_below="@id/progressbar_sub"
    	android:text="@string/download_background"/>-->
    <Button
    	android:id="@+id/cancelDownload"
    	android:layout_width="wrap_content"
    	android:layout_height="wrap_content"
    	android:layout_below="@id/progressbar_sub"
    	
    	android:layout_centerHorizontal="true"
    	android:text="@string/download_cancel"/>
    <!-- android:layout_toRightOf="@id/background"-->
    	
</RelativeLayout>