summaryrefslogtreecommitdiff
path: root/res/layout-xlarge-port
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-01-18 12:06:37 +0300
committerAndrew Dolgov <[email protected]>2012-01-18 12:06:37 +0300
commite675cd70b5a440770418f72d026d254eb62261a4 (patch)
tree085f4a7a03c4b0a3717c49365569a04319309db9 /res/layout-xlarge-port
parenta1337b531e3a94c372fc65eb4d267cabcb4ba3d2 (diff)
layout fixes for xlarge mode
Diffstat (limited to 'res/layout-xlarge-port')
-rw-r--r--res/layout-xlarge-port/main.xml36
1 files changed, 26 insertions, 10 deletions
diff --git a/res/layout-xlarge-port/main.xml b/res/layout-xlarge-port/main.xml
index 571f1ad5..c5629508 100644
--- a/res/layout-xlarge-port/main.xml
+++ b/res/layout-xlarge-port/main.xml
@@ -1,11 +1,29 @@
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" android:id="@+id/main_flipper">
- <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:id="@+id/loading_container">
- <ProgressBar android:id="@+id/loading_progress" android:layout_height="wrap_content" android:layout_width="wrap_content" style="?android:attr/progressBarStyleLarge"></ProgressBar>
- <TextView android:textAppearance="?android:attr/textAppearanceLarge" android:text="@string/loading_message" android:layout_height="wrap_content" android:layout_width="wrap_content" android:id="@+id/loading_message"></TextView>
- </LinearLayout>
- <LinearLayout android:layout_height="fill_parent" android:orientation="horizontal" android:id="@+id/main" android:layout_width="fill_parent">
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_height="fill_parent" android:orientation="horizontal" android:id="@+id/main" android:layout_width="fill_parent">
+
+ <LinearLayout
+ android:id="@+id/loading_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_weight="0"
+ android:gravity="center"
+ android:orientation="vertical" >
+
+ <ProgressBar
+ android:id="@+id/loading_progress"
+ style="?android:attr/progressBarStyleLarge"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <TextView
+ android:id="@+id/loading_message"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
+ android:text="@string/loading_message"
+ android:textAppearance="?android:attr/textAppearanceLarge" />
+ </LinearLayout>
+
<FrameLayout android:layout_height="match_parent" android:layout_width="300dp" android:layout_weight="0" android:id="@+id/feeds_fragment"></FrameLayout>
<FrameLayout android:layout_height="match_parent" android:layout_width="300dp" android:layout_weight="0" android:id="@+id/cats_fragment"></FrameLayout>
<LinearLayout
@@ -16,5 +34,3 @@
</LinearLayout>
</LinearLayout>
-
-</FrameLayout> \ No newline at end of file