diff options
author | Andrew Dolgov <[email protected]> | 2012-06-19 21:06:16 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-06-19 21:06:16 +0400 |
commit | ff6f103900685bdc1fd3ee359cf6724f67480b0c (patch) | |
tree | 4831ae3d39b5dccde6d2e25dd834cc9a99db20d3 /res/layout-xlarge-port/main.xml | |
parent | bd937be78428e6572f6ed9724cee04aa03ad4a98 (diff) |
xlarge layout fixes
Diffstat (limited to 'res/layout-xlarge-port/main.xml')
-rw-r--r-- | res/layout-xlarge-port/main.xml | 92 |
1 files changed, 60 insertions, 32 deletions
diff --git a/res/layout-xlarge-port/main.xml b/res/layout-xlarge-port/main.xml index c5629508..40a88092 100644 --- a/res/layout-xlarge-port/main.xml +++ b/res/layout-xlarge-port/main.xml @@ -1,36 +1,64 @@ -<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"> +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/main" + android:layout_width="fill_parent" + android:layout_height="fill_parent" > - <LinearLayout - android:id="@+id/loading_container" + <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="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 - 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> + android:layout_height="wrap_content" + android:gravity="center_horizontal" + android:text="@string/loading_message" + android:textAppearance="?android:attr/textAppearanceLarge" /> </LinearLayout> + + <LinearLayout + android:orientation="horizontal" + android:id="@+id/fragment_container" + android:layout_width="match_parent" + android:layout_height="match_parent" > + <FrameLayout + android:id="@+id/feeds_fragment" + android:layout_width="300dp" + android:layout_height="match_parent" + android:layout_weight="0" > + </FrameLayout> + + <LinearLayout + android:id="@+id/vertical_fragment_container" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" > + + <FrameLayout + android:id="@+id/headlines_fragment" + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="0.5" > + </FrameLayout> + + <FrameLayout + android:id="@+id/article_fragment" + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="0.5" > + </FrameLayout> + </LinearLayout> + + </LinearLayout> +</FrameLayout>
\ No newline at end of file |