summaryrefslogtreecommitdiffstats
path: root/remoting/resources/android/layout/main.xml
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/resources/android/layout/main.xml')
-rw-r--r--remoting/resources/android/layout/main.xml26
1 files changed, 18 insertions, 8 deletions
diff --git a/remoting/resources/android/layout/main.xml b/remoting/resources/android/layout/main.xml
index acb8462..25a958b 100644
--- a/remoting/resources/android/layout/main.xml
+++ b/remoting/resources/android/layout/main.xml
@@ -5,14 +5,24 @@
found in the LICENSE file.
-->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent"
android:layout_width="match_parent">
- <TextView android:id="@+id/hostList_greeting"
- android:layout_height="wrap_content"
- android:layout_width="match_parent"/>
- <ListView android:id="@+id/hostList_chooser"
+ <LinearLayout android:id="@+id/hostList_main"
+ android:orientation="vertical"
android:layout_height="match_parent"
- android:layout_width="match_parent"/>
-</LinearLayout>
+ android:layout_width="match_parent">
+ <TextView android:id="@+id/hostList_greeting"
+ android:layout_height="wrap_content"
+ android:layout_width="match_parent"/>
+ <ListView android:id="@+id/hostList_chooser"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent"/>
+ </LinearLayout>
+ <ProgressBar android:id="@+id/hostList_progress"
+ android:layout_height="wrap_content"
+ android:layout_width="wrap_content"
+ android:layout_gravity="center"
+ android:visibility="gone"
+ style="@android:style/Widget.Holo.ProgressBar.Large"/>
+</FrameLayout>