summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-09-17 18:12:11 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-19 16:52:51 -0700
commit825ad7babd740577a6f42489bf4f1a03935076fd (patch)
treea75b42699aabc889b0a6610f496ecfe0850710b3 /res
parentd9bc0d97e9dd8d10f5c07ccbdc99ccac11ab1d11 (diff)
downloadandroid_packages_apps_Snap-825ad7babd740577a6f42489bf4f1a03935076fd.tar.gz
android_packages_apps_Snap-825ad7babd740577a6f42489bf4f1a03935076fd.tar.bz2
android_packages_apps_Snap-825ad7babd740577a6f42489bf4f1a03935076fd.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')
-rw-r--r--res/layout/photopage_bottom_controls.xml22
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>