project_files/Android-build/SDL-android-project/res/layout/download_progress.xml
author unc0rr
Mon, 03 Feb 2014 13:32:09 +0400
changeset 10097 acef073e190f
parent 6433 c8e4b3f29e1e
permissions -rw-r--r--
Tiny optimization
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6350
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     3
	android:id="@+id/container"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     4
    android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     5
    android:layout_height="wrap_content"
6433
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
     6
    android:minWidth="250dip"
6350
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     7
    android:padding="5dp"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     8
    android:background="@drawable/box">
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
     9
    <ProgressBar
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    10
    	android:id="@+id/progressbar"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    11
    	android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    12
    	android:layout_height="wrap_content"
6433
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
    13
    	android:layout_alignParentLeft="true"
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
    14
    	android:layout_alignParentRight="true"
6350
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    15
    	android:progressDrawable="@android:drawable/progress_horizontal"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    16
		android:indeterminate="false" 
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    17
		android:indeterminateOnly="false"/>
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    18
	<TextView
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    19
    	android:id="@+id/progressbar_sub"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    20
    	android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    21
    	android:layout_height="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    22
    	android:layout_below="@id/progressbar"
6433
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
    23
    	android:layout_alignParentLeft="true"
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
    24
    	android:layout_alignParentRight="true"
6350
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    25
    	android:text="@string/download_queued"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    26
    	android:textColor="#FFF"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    27
    	android:textSize="14dp"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    28
    	android:gravity="center"/> 	
6433
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
    29
    <!--  <Button
6350
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    30
    	android:id="@id/background"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    31
    	android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    32
    	android:layout_height="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    33
    	android:layout_below="@id/progressbar_sub"
6433
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
    34
    	android:text="@string/download_background"/>-->
6350
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    35
    <Button
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    36
    	android:id="@+id/cancelDownload"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    37
    	android:layout_width="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    38
    	android:layout_height="wrap_content"
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    39
    	android:layout_below="@id/progressbar_sub"
6433
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
    40
    	
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
    41
    	android:layout_centerHorizontal="true"
6350
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    42
    	android:text="@string/download_cancel"/>
6433
c8e4b3f29e1e android: fix compatibility with donut
Xeli
parents: 6350
diff changeset
    43
    <!-- android:layout_toRightOf="@id/background"-->
6350
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    44
    	
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    45
</RelativeLayout>
41b0a9955c47 new download manager \o/
Xeli
parents:
diff changeset
    46