diff options
| author | Yuli Huang <yuli@google.com> | 2011-10-05 00:01:02 +0800 |
|---|---|---|
| committer | Yuli Huang <yuli@google.com> | 2011-10-05 02:56:35 +0800 |
| commit | 915d58379336d1c19df77f26336d82def95968de (patch) | |
| tree | 0dee8fd1ea32f8649fbfb535c77e65b7ae96334b /res | |
| parent | 1d536ee817b887da443f296d4360046bdf190c79 (diff) | |
| download | android_packages_apps_Gallery2-915d58379336d1c19df77f26336d82def95968de.tar.gz android_packages_apps_Gallery2-915d58379336d1c19df77f26336d82def95968de.tar.bz2 android_packages_apps_Gallery2-915d58379336d1c19df77f26336d82def95968de.zip | |
Fix b/5032231: Allow share in Photo Editor.
Change-Id: I5fd48243df76fd0c2617c92d7f73936172bf6c47
Diffstat (limited to 'res')
| -rw-r--r-- | res/layout/photoeditor_actionbar.xml | 21 |
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> |
