summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-11-26 10:11:24 +0300
committerAndrew Dolgov <[email protected]>2011-11-26 10:11:24 +0300
commit673b31f274a98b49463b70e9c77519ac23ad3a0f (patch)
treec882cf4e659a3b61a2b8f9fc8569eebf9e16a14a /res/layout
parent131dec0c1cb8799f0321938bfdfd7b32eeb7dcbd (diff)
add compatibility with small screen devices
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/main_small.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/res/layout/main_small.xml b/res/layout/main_small.xml
new file mode 100644
index 00000000..7fd46add
--- /dev/null
+++ b/res/layout/main_small.xml
@@ -0,0 +1,30 @@
+<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" ></ProgressBar>
+ <TextView 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:id="@+id/feeds_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+</FrameLayout>
+
+ <FrameLayout
+ android:id="@+id/headlines_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+</FrameLayout>
+
+ <FrameLayout
+ android:id="@+id/article_fragment"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+</FrameLayout>
+ </LinearLayout>
+
+
+</FrameLayout> \ No newline at end of file