summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorOwen Lin <owenlin@google.com>2009-07-29 13:45:42 +0800
committerOwen Lin <owenlin@google.com>2009-08-06 13:41:18 +0800
commit8f8cf3807d66cbd97172a262ce2da78ad2f2c2d9 (patch)
tree11d8a9fec738f24d25083d61ae0e09fcdb56b25a /res/layout
parent28a217917a10c0a0dad1e890faee62d6ac05edb0 (diff)
downloadLegacyCamera-8f8cf3807d66cbd97172a262ce2da78ad2f2c2d9.zip
LegacyCamera-8f8cf3807d66cbd97172a262ce2da78ad2f2c2d9.tar.gz
LegacyCamera-8f8cf3807d66cbd97172a262ce2da78ad2f2c2d9.tar.bz2
Add the function to share multiple items in gallery.
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/image_gallery.xml (renamed from res/layout/image_gallery_2.xml)30
1 files changed, 14 insertions, 16 deletions
diff --git a/res/layout/image_gallery_2.xml b/res/layout/image_gallery.xml
index 497c890..d3d846f 100644
--- a/res/layout/image_gallery_2.xml
+++ b/res/layout/image_gallery.xml
@@ -26,7 +26,7 @@
android:id="@+id/grid"
android:focusable="true"
android:layout_width="fill_parent"
- android:layout_height="0dip"
+ android:layout_height="0dp"
android:layout_weight="1"
android:listSelector="@drawable/grid_background"
/>
@@ -38,28 +38,26 @@
android:layout_height="wrap_content"
android:layout_weight="0"
android:clickable="false"
- android:paddingTop="5dip"
- android:paddingLeft="4dip"
- android:paddingRight="4dip"
- android:paddingBottom="1dip"
+ android:paddingTop="5dp"
+ android:paddingLeft="4dp"
+ android:paddingRight="4dp"
+ android:paddingBottom="1dp"
android:background="@android:drawable/bottom_bar">
- <!--
- <Button android:id="@+id/button_share"
- android:layout_width="0dip"
- android:layout_height="fill_parent"
- android:layout_weight="1"
- android:text="@string/multiselect_share" />
- -->
+ <Button android:id="@+id/button_share"
+ android:layout_width="0dp"
+ android:layout_height="fill_parent"
+ android:layout_weight="1"
+ android:text="@string/multiselect_share" />
<Button android:id="@+id/button_delete"
- android:layout_width="0dip"
+ android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_weight="1"
android:text="@string/multiselect_delete" />
<Button android:id="@+id/button_close"
- android:layout_width="0dip"
+ android:layout_width="0dp"
android:layout_height="fill_parent"
android:layout_weight="1"
android:text="@string/multiselect_cancel" />
@@ -85,13 +83,13 @@
<TextView
android:layout_below="@id/no_pictures_image"
android:layout_centerHorizontal="true"
- android:paddingTop="5dip"
+ android:paddingTop="5dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/image_gallery_NoImageView_text"
android:textColor="#FFBEBEBE"
- android:textSize="18dip"
+ android:textSize="18dp"
/>
</RelativeLayout>
</RelativeLayout>