aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-06-19 21:22:20 -0700
committerScott Jackson <daneren2005@gmail.com>2014-06-19 21:22:20 -0700
commit4380566815ed32d2feac194646be393f500d55e4 (patch)
treef06aed347249141954f4371a743920858d7b9799 /res
parentd439055026acb4107cefa72d60032c2854978236 (diff)
downloaddsub-4380566815ed32d2feac194646be393f500d55e4.tar.gz
dsub-4380566815ed32d2feac194646be393f500d55e4.tar.bz2
dsub-4380566815ed32d2feac194646be393f500d55e4.zip
#349 Better refresh layout
Diffstat (limited to 'res')
-rw-r--r--res/layout/tab_progress.xml44
1 files changed, 24 insertions, 20 deletions
diff --git a/res/layout/tab_progress.xml b/res/layout/tab_progress.xml
index 6a88600c..53df7d18 100644
--- a/res/layout/tab_progress.xml
+++ b/res/layout/tab_progress.xml
@@ -1,24 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/tab_progress"
- android:orientation="horizontal"
- android:visibility="gone"
- android:padding="10dp"
- android:layout_gravity="top"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content">
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/tab_progress"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
- <ProgressBar
- android:layout_width="16dp"
- android:layout_height="16dp"
- android:layout_gravity="center_vertical"
- android:layout_marginRight="6dp"/>
+ <LinearLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:layout_gravity="center">
- <TextView
- android:id="@+id/tab_progress_message"
- android:text="@string/progress.wait"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"/>
+ <ProgressBar
+ style="?android:attr/progressBarStyleLarge"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginRight="6dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"/>
-</LinearLayout> \ No newline at end of file
+ <TextView
+ android:id="@+id/tab_progress_message"
+ android:text="@string/progress.wait"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal"
+ android:textAppearance="?android:attr/textAppearanceMedium"/>
+ </LinearLayout>
+</FrameLayout> \ No newline at end of file