summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-03-09 11:18:43 -0800
committernicolasroard <nicolasroard@google.com>2013-03-11 10:33:31 -0700
commit8124706f162f15238e92ca72e7fcf18c12d32eda (patch)
tree3648c49b38574694f6dae7d5e0a24702338fc3ab /res/layout-land
parentbfef719b34ba8548e789665c3696ac980831dbeb (diff)
downloadandroid_packages_apps_Snap-8124706f162f15238e92ca72e7fcf18c12d32eda.tar.gz
android_packages_apps_Snap-8124706f162f15238e92ca72e7fcf18c12d32eda.tar.bz2
android_packages_apps_Snap-8124706f162f15238e92ca72e7fcf18c12d32eda.zip
Add tiled background
Change-Id: I52292f6cae4f1121795829663dc4738cb38a953b
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/filtershow_activity.xml89
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"