diff options
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/filtershow_activity.xml | 112 |
1 files changed, 55 insertions, 57 deletions
diff --git a/res/layout-land/filtershow_activity.xml b/res/layout-land/filtershow_activity.xml index f1294f525..311a3e639 100644 --- a/res/layout-land/filtershow_activity.xml +++ b/res/layout-land/filtershow_activity.xml @@ -28,56 +28,55 @@ android:orientation="horizontal" android:animateLayoutChanges="true"> - <LinearLayout - android:layout_weight="1" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:orientation="horizontal"> + <LinearLayout + android:layout_weight="1" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:orientation="horizontal"> - <FrameLayout - android:id="@+id/editorContainer" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_weight="1" /> + <FrameLayout + android:id="@+id/editorContainer" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1"/> - <com.android.gallery3d.filtershow.imageshow.ImageShow - android:id="@+id/imageShow" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> + <com.android.gallery3d.filtershow.imageshow.ImageShow + android:id="@+id/imageShow" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" /> - <com.android.gallery3d.filtershow.imageshow.ImageTinyPlanet - android:id="@+id/imageTinyPlanet" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> + <com.android.gallery3d.filtershow.imageshow.ImageTinyPlanet + android:id="@+id/imageTinyPlanet" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" /> </LinearLayout> <LinearLayout android:id="@+id/mainPanel" - android:layout_width="650dip" + android:layout_width="350dip" android:layout_height="match_parent" - android:layout_weight="1" - android:orientation="vertical" > + android:orientation="vertical"> - <ViewStub android:id="@+id/statePanelStub" - android:inflatedId="@+id/imageStatePanel" - android:layout="@layout/filtershow_state_panel" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:visibility="visible" /> + <FrameLayout android:id="@+id/state_panel_container" + android:layout_width="350dip" + android:layout_height="0dip" + android:layout_weight="1" /> <ViewStub android:id="@+id/historyPanelStub" android:inflatedId="@+id/historyPanel" android:layout="@layout/filtershow_history_panel" android:layout_width="match_parent" - android:layout_height="match_parent" - android:visibility="gone" /> + android:layout_height="0dip" + android:visibility="gone"/> <FrameLayout android:layout_gravity="bottom" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_weight="1" > + android:visibility="gone"> <ProgressBar @@ -88,7 +87,7 @@ android:layout_gravity="center" android:indeterminate="true" android:indeterminateOnly="true" - android:background="@color/background_screen" /> + android:background="@color/background_screen"/> </FrameLayout> @@ -96,29 +95,29 @@ xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" android:id="@+id/filtersPanel" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="center" + android:layout_height="177dip" + android:layout_gravity="center|bottom" custom:max_width="600dip" android:orientation="vertical"> <FrameLayout android:id="@+id/secondRowPanel" android:layout_width="fill_parent" - android:layout_height="wrap_content" > + android:layout_height="128dip"> <LinearLayout android:id="@+id/filterButtonsList" android:layout_width="fill_parent" android:layout_height="@dimen/thumbnail_size" android:orientation="horizontal" - android:visibility="gone" > + android:visibility="gone"> <ViewStub android:id="@+id/editorPanelStub" - android:inflatedId="@+id/editorPanel" - android:layout="@layout/filtershow_editor_panel" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:visibility="visible" /> + android:inflatedId="@+id/editorPanel" + android:layout="@layout/filtershow_editor_panel" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:visibility="visible"/> </LinearLayout> @@ -127,14 +126,14 @@ android:layout_width="match_parent" android:layout_height="@dimen/thumbnail_size" android:background="@color/background_main_toolbar" - android:scrollbars="none" > + android:scrollbars="none"> <LinearLayout android:id="@+id/listFilters" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginLeft="@dimen/thumbnail_margin" - android:orientation="horizontal" > + android:orientation="horizontal"> </LinearLayout> </HorizontalScrollView> @@ -144,14 +143,14 @@ android:layout_height="@dimen/thumbnail_size" android:background="@color/background_main_toolbar" android:visibility="gone" - android:scrollbars="none" > + android:scrollbars="none"> <LinearLayout android:id="@+id/listBorders" android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_marginLeft="@dimen/thumbnail_margin" - android:orientation="horizontal" > + android:orientation="horizontal"> </LinearLayout> </HorizontalScrollView> @@ -161,14 +160,14 @@ android:layout_height="@dimen/thumbnail_size" android:background="@color/background_main_toolbar" android:visibility="gone" - android:scrollbars="none" > + android:scrollbars="none"> <LinearLayout android:id="@+id/listGeometry" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_gravity="left" - android:orientation="horizontal" /> + android:orientation="horizontal"/> </HorizontalScrollView> @@ -178,7 +177,7 @@ android:layout_height="wrap_content" android:background="@color/background_main_toolbar" android:visibility="gone" - android:scrollbars="none" > + android:scrollbars="none"> <LinearLayout android:id="@+id/listColorsFx" @@ -186,7 +185,7 @@ android:layout_height="@dimen/thumbnail_size" android:background="@color/background_main_toolbar" android:layout_marginLeft="@dimen/thumbnail_margin" - android:orientation="horizontal" > + android:orientation="horizontal"> </LinearLayout> </HorizontalScrollView> @@ -195,22 +194,21 @@ <View android:background="@color/toolbar_separation_line" android:layout_height="1dip" - android:layout_width="match_parent" /> + android:layout_width="match_parent"/> <com.android.gallery3d.filtershow.CenteredLinearLayout - xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" android:layout_width="match_parent" - android:layout_height="wrap_content" + android:layout_height="48dip" android:layout_gravity="center" custom:max_width="400dip" android:orientation="vertical"> - <ViewStub android:id="@+id/stateCategoryStub" - android:inflatedId="@+id/imageCategoryPanel" - android:layout="@layout/filtershow_category_panel" - android:layout_width="match_parent" - android:layout_height="48dip" - android:visibility="visible" /> + <ViewStub android:id="@+id/stateCategoryStub" + android:inflatedId="@+id/imageCategoryPanel" + android:layout="@layout/filtershow_category_panel" + android:layout_width="match_parent" + android:layout_height="48dip" + android:visibility="visible"/> </com.android.gallery3d.filtershow.CenteredLinearLayout> |