diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-09-17 18:12:11 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-09-19 16:52:51 -0700 |
commit | f44499dda32783cc74643723ed01ce636e81b186 (patch) | |
tree | 8aff6d975d89fabb8f34cd3fc10f07379bbc3044 /res/layout/photopage_bottom_controls.xml | |
parent | 56bdcb7272f222fde5e4c6fc133cb490b31c7667 (diff) | |
download | android_packages_apps_Gallery2-f44499dda32783cc74643723ed01ce636e81b186.tar.gz android_packages_apps_Gallery2-f44499dda32783cc74643723ed01ce636e81b186.tar.bz2 android_packages_apps_Gallery2-f44499dda32783cc74643723ed01ce636e81b186.zip |
Add bottom bar UI for photo page
Bug: 7050303
Bug: 7170148
Pulled the handling of the display of the edit (FX) button
out into a separate file and put in the groundwork for
supporting multiple buttons within a container along the
bottom of the screen and managing their display as well as
animating them in and out. Also added a button for launching
the panorama viewer when appropriate
Change-Id: Iee3083e0693ef3c1f55264b922f02b9a702d2103
Diffstat (limited to 'res/layout/photopage_bottom_controls.xml')
-rw-r--r-- | res/layout/photopage_bottom_controls.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/res/layout/photopage_bottom_controls.xml b/res/layout/photopage_bottom_controls.xml new file mode 100644 index 000000000..a8fca2d72 --- /dev/null +++ b/res/layout/photopage_bottom_controls.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/photopage_bottom_controls" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_alignParentBottom="true" + android:layout_alignParentLeft="true" + android:orientation="horizontal" + android:visibility="gone"> + <ImageButton + android:id="@+id/photopage_bottom_control_edit" + android:src="@drawable/photoeditor_artistic" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:visibility="gone"/> + <ImageButton + android:id="@+id/photopage_bottom_control_panorama" + android:src="@android:drawable/ic_dialog_map" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:visibility="gone"/> +</LinearLayout> |