summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorYuli Huang <yuli@google.com>2011-10-05 00:01:02 +0800
committerYuli Huang <yuli@google.com>2011-10-05 02:56:35 +0800
commit06498f8cea252c19509061ae6c8bfba49e0f9f03 (patch)
tree2c23ee1203f0c9242ff5fd01bb69a9e6673ed60d /res/layout
parent81320578532c169d5cfd97647dd1c13478e393de (diff)
downloadandroid_packages_apps_Snap-06498f8cea252c19509061ae6c8bfba49e0f9f03.tar.gz
android_packages_apps_Snap-06498f8cea252c19509061ae6c8bfba49e0f9f03.tar.bz2
android_packages_apps_Snap-06498f8cea252c19509061ae6c8bfba49e0f9f03.zip
Fix b/5032231: Allow share in Photo Editor.
Change-Id: I5fd48243df76fd0c2617c92d7f73936172bf6c47
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/photoeditor_actionbar.xml21
1 files changed, 17 insertions, 4 deletions
diff --git a/res/layout/photoeditor_actionbar.xml b/res/layout/photoeditor_actionbar.xml
index 82ed41ffc..40c18d828 100644
--- a/res/layout/photoeditor_actionbar.xml
+++ b/res/layout/photoeditor_actionbar.xml
@@ -44,9 +44,22 @@
android:id="@+id/redo_button"
style="@style/ImageActionButton"
android:src="@drawable/photoeditor_redo"/>
- <Button
- android:id="@+id/save_button"
- style="@style/TextActionButton"
- android:text="@string/save"/>
+
+ <ViewSwitcher
+ android:id="@+id/save_share_buttons"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+ <Button
+ android:id="@+id/save_button"
+ style="@style/TextActionButton"
+ android:layout_width="fill_parent"
+ android:text="@string/save"/>
+ <ImageButton
+ android:id="@+id/share_button"
+ style="@style/ImageActionButton"
+ android:layout_width="fill_parent"
+ android:src="@drawable/ic_menu_share_holo_light"/>
+ </ViewSwitcher>
+
</LinearLayout>
</com.android.gallery3d.photoeditor.ActionBar>