diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-xlarge-port/main.xml | 36 | ||||
-rw-r--r-- | res/layout-xlarge/main.xml | 7 |
2 files changed, 31 insertions, 12 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 diff --git a/res/layout-xlarge/main.xml b/res/layout-xlarge/main.xml index a07f70d4..1254cc79 100644 --- a/res/layout-xlarge/main.xml +++ b/res/layout-xlarge/main.xml @@ -8,7 +8,8 @@ android:id="@+id/loading_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:gravity="center" > + android:gravity="center" + android:orientation="vertical" > <ProgressBar android:id="@+id/loading_progress" @@ -18,10 +19,12 @@ <TextView android:id="@+id/loading_message" - android:layout_width="wrap_content" + 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 |