summaryrefslogtreecommitdiffstats
path: root/res/layout/photopage_bottom_controls.xml
diff options
context:
space:
mode:
authorBobby Georgescu <georgescu@google.com>2012-10-06 15:22:03 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-10-06 18:25:33 -0700
commitf1c701f86f779bc3d09bd23315da19124c62e97e (patch)
treecaed1c74ed647f1e2ce47c141cbd81e27c194a25 /res/layout/photopage_bottom_controls.xml
parent9b260f35807df213959b1e8f7c74fb44be8206e5 (diff)
downloadandroid_packages_apps_Snap-f1c701f86f779bc3d09bd23315da19124c62e97e.tar.gz
android_packages_apps_Snap-f1c701f86f779bc3d09bd23315da19124c62e97e.tar.bz2
android_packages_apps_Snap-f1c701f86f779bc3d09bd23315da19124c62e97e.zip
Change display of 360 panorama button
Bug: 7300866 -Move pano button to center and make larger -Pano button visible even when in full-screen mode -Show edit button only when image editor is available -Correctly hide bottom controls when switching from filmstrip mode to grid mode Change-Id: I485b1988733bedd0c03e89a261a6ce80be46b9bc
Diffstat (limited to 'res/layout/photopage_bottom_controls.xml')
-rw-r--r--res/layout/photopage_bottom_controls.xml15
1 files changed, 6 insertions, 9 deletions
diff --git a/res/layout/photopage_bottom_controls.xml b/res/layout/photopage_bottom_controls.xml
index 5b80cf2da..434c59824 100644
--- a/res/layout/photopage_bottom_controls.xml
+++ b/res/layout/photopage_bottom_controls.xml
@@ -15,21 +15,18 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
+ android:layout_alignParentBottom="true"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:paddingLeft="15dp"
android:paddingRight="15dp"
android:visibility="gone"/>
- <ImageButton
+ <ImageView
android:id="@+id/photopage_bottom_control_panorama"
android:src="@drawable/ic_menu_photosphere"
- android:background="@drawable/photopage_bottom_button_background"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:paddingTop="5dp"
- android:paddingBottom="5dp"
- android:paddingLeft="15dp"
- android:paddingRight="15dp"
+ android:layout_width="70dp"
+ android:layout_height="70dp"
+ android:layout_centerHorizontal="true"
+ android:layout_alignParentBottom="true"
android:visibility="gone"/>
</RelativeLayout>