diff options
Diffstat (limited to 'res/layout-land/filtershow_activity.xml')
-rw-r--r-- | res/layout-land/filtershow_activity.xml | 89 |
1 files changed, 15 insertions, 74 deletions
diff --git a/res/layout-land/filtershow_activity.xml b/res/layout-land/filtershow_activity.xml index 8cef0cef8..957a36592 100644 --- a/res/layout-land/filtershow_activity.xml +++ b/res/layout-land/filtershow_activity.xml @@ -19,7 +19,8 @@ xmlns:iconbutton="http://schemas.android.com/apk/res/com.android.gallery3d" android:layout_width="match_parent" android:layout_height="match_parent" - android:id="@+id/mainView"> + android:id="@+id/mainView" + android:background="@drawable/filtershow_tiled_background"> <LinearLayout android:layout_width="match_parent" @@ -58,79 +59,19 @@ android:layout_weight="1" android:orientation="vertical" > - <LinearLayout - android:id="@+id/imageStatePanel" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="vertical" - android:layout_weight="1" - android:visibility="visible" > - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@android:color/transparent" - android:gravity="center" - android:padding="2dip" - android:text="@string/imageState" - android:textColor="@android:color/white" - android:textSize="24sp" - android:textStyle="bold" /> - - <ListView - android:id="@+id/imageStateList" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_weight="1" > - </ListView> - - </LinearLayout> - - <LinearLayout - android:id="@+id/historyPanel" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:layout_weight="1" - android:visibility="gone" > - - <TextView - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:background="@android:color/transparent" - android:gravity="center" - android:padding="2dip" - android:text="@string/history" - android:textColor="@android:color/white" - android:textSize="24sp" - android:textStyle="bold" /> - - <ListView - android:id="@+id/operationsList" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_weight="1" > - </ListView> - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" > - - <Button - android:id="@+id/resetOperationsButton" - style="@style/FilterShowHistoryButton" - android:gravity="center" - android:text="@string/reset" /> - - <Button - android:id="@+id/saveOperationsButton" - style="@style/FilterShowHistoryButton" - android:text="@string/save" - android:visibility="gone" /> - </LinearLayout> - </LinearLayout> - + <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" /> + + <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" /> <FrameLayout android:layout_gravity="bottom" |