summaryrefslogtreecommitdiffstats
path: root/res/layout/photopage_bottom_controls.xml
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2012-10-18 15:01:35 -0700
committerDoris Liu <tianliu@google.com>2012-10-18 18:14:34 -0700
commita680a0c32ae3321c632288b36083f2782af2c55b (patch)
tree3902eb4c97a21646b915f8d320c4eca01ee67420 /res/layout/photopage_bottom_controls.xml
parent79704855fb9b83acf9dc505f9ab1989ec1c770bc (diff)
downloadandroid_packages_apps_Gallery2-a680a0c32ae3321c632288b36083f2782af2c55b.tar.gz
android_packages_apps_Gallery2-a680a0c32ae3321c632288b36083f2782af2c55b.tar.bz2
android_packages_apps_Gallery2-a680a0c32ae3321c632288b36083f2782af2c55b.zip
Adding support for tiny planet in gallery
Bug: 7344427 Change-Id: I6fad734b28022f45cc551d81212ee4d3a0c867b2
Diffstat (limited to 'res/layout/photopage_bottom_controls.xml')
-rw-r--r--res/layout/photopage_bottom_controls.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/res/layout/photopage_bottom_controls.xml b/res/layout/photopage_bottom_controls.xml
index 1883b8e8d..8fe594d7c 100644
--- a/res/layout/photopage_bottom_controls.xml
+++ b/res/layout/photopage_bottom_controls.xml
@@ -34,4 +34,17 @@
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:visibility="gone"/>
+ <ImageButton
+ android:id="@+id/photopage_bottom_control_tiny_planet"
+ android:src="@drawable/ic_menu_tiny_planet"
+ android:background="@drawable/photopage_bottom_button_background"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_alignParentBottom="true"
+ android:paddingTop="5dp"
+ android:paddingBottom="5dp"
+ android:paddingLeft="15dp"
+ android:paddingRight="15dp"
+ android:visibility="gone"/>
</RelativeLayout>