summaryrefslogtreecommitdiff
path: root/res/layout-port/main.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-25 13:37:11 +0300
committerAndrew Dolgov <[email protected]>2011-11-25 13:37:11 +0300
commite9d4211c3dc6bc3465776d57e4de514e1f34d9e2 (patch)
treeabd64a9579794b9a2ade99a12d6144836adfd149 /res/layout-port/main.xml
parent2d9ee319abba7ae9d60848ede2e00a9c58849c99 (diff)
add separate layout for portrait orientation
Diffstat (limited to 'res/layout-port/main.xml')
-rw-r--r--res/layout-port/main.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/res/layout-port/main.xml b/res/layout-port/main.xml
new file mode 100644
index 00000000..eb0beb31
--- /dev/null
+++ b/res/layout-port/main.xml
@@ -0,0 +1,19 @@
+<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">
+ <FrameLayout android:layout_height="match_parent" android:layout_width="300dp" android:layout_weight="0" android:id="@+id/feeds_fragment"></FrameLayout>
+ <LinearLayout
+ android:id="@+id/linearLayout2"
+ android:layout_height="match_parent" android:orientation="vertical" android:layout_width="match_parent">
+ <FrameLayout android:layout_weight="0.5" android:id="@+id/headlines_fragment" android:layout_width="match_parent" android:layout_height="0dp"></FrameLayout>
+ <FrameLayout android:layout_weight="0.5" android:id="@+id/article_fragment" android:layout_width="match_parent" android:layout_height="0dp"></FrameLayout>
+ </LinearLayout>
+ </LinearLayout>
+
+
+</FrameLayout> \ No newline at end of file