diff options
author | John Hoford <hoford@google.com> | 2013-03-11 11:10:22 -0700 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-03-11 14:22:57 -0700 |
commit | 7c1bb24f0b7d240acee416dcb222b61830382dc8 (patch) | |
tree | f1ac7ebf3703c19d13acae8851fb6ae62a441629 /res/layout-land | |
parent | 8124706f162f15238e92ca72e7fcf18c12d32eda (diff) | |
download | android_packages_apps_Snap-7c1bb24f0b7d240acee416dcb222b61830382dc8.tar.gz android_packages_apps_Snap-7c1bb24f0b7d240acee416dcb222b61830382dc8.tar.bz2 android_packages_apps_Snap-7c1bb24f0b7d240acee416dcb222b61830382dc8.zip |
refactoring to make Editor classes do more
Change-Id: Id0885929cf3a9410bd0e5d3bf96eb99e8c7e1cf9
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/filtershow_activity.xml | 88 |
1 files changed, 74 insertions, 14 deletions
diff --git a/res/layout-land/filtershow_activity.xml b/res/layout-land/filtershow_activity.xml index 957a36592..066dffad9 100644 --- a/res/layout-land/filtershow_activity.xml +++ b/res/layout-land/filtershow_activity.xml @@ -98,7 +98,6 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" - android:background="@color/background_main_toolbar" custom:max_width="600dip" android:orientation="vertical"> @@ -111,33 +110,94 @@ android:id="@+id/filterButtonsList" android:layout_width="fill_parent" android:layout_height="@dimen/thumbnail_size" - android:background="@color/background_main_toolbar" android:orientation="horizontal" android:visibility="gone" > - <FrameLayout - android:layout_width="fill_parent" - android:layout_height="fill_parent" > + <LinearLayout + android:id="@+id/top" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="0" + android:orientation="vertical" + android:visibility="visible" > <LinearLayout - android:id="@+id/panelAccessoryViewList" + android:id="@+id/controlArea" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:orientation="horizontal" + android:background="@android:color/transparent" + android:visibility="visible" > + + <SeekBar + android:id="@+id/primarySeekBar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="@android:color/transparent" + android:layout_weight="1" /> + </LinearLayout> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" + android:background="@color/filtershow_background" + android:orientation="horizontal" + android:visibility="visible" > + + <ImageButton + android:id="@+id/cancelFilter" android:layout_width="wrap_content" + android:layout_height="94dip" + android:layout_gravity="left" + android:layout_weight=".1" + android:background="@android:color/transparent" + android:gravity="center" + android:src="@drawable/ic_menu_cancel_holo_light" + android:textSize="18dip" /> + + <ImageView + android:layout_width="2dp" android:layout_height="fill_parent" + android:src="@drawable/filtershow_vertical_line" /> + + <LinearLayout + android:id="@+id/panelAccessoryViewList" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_weight="1" android:orientation="horizontal" - android:visibility="visible" /> + android:visibility="visible" > + + <Button + android:id="@+id/applyEffect" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_gravity="center" + android:background="@android:color/transparent" + android:gravity="center" + android:text="@string/apply_effect" + android:textSize="18dip" /> + </LinearLayout> + + <ImageView + android:layout_width="2dp" + android:layout_height="fill_parent" + android:src="@drawable/filtershow_vertical_line" /> - <Button - android:id="@+id/applyEffect" + <ImageButton + android:id="@+id/applyFilter" android:layout_width="wrap_content" android:layout_height="94dip" - android:layout_gravity="center" - android:layout_weight="1" + android:layout_gravity="right" + android:layout_weight=".1" android:background="@android:color/transparent" android:gravity="center" - android:text="@string/apply_effect" + android:src="@drawable/ic_menu_done_holo_light" android:textSize="18dip" /> - </FrameLayout> - + </LinearLayout> + </LinearLayout> </LinearLayout> <HorizontalScrollView |