diff options
| author | Yuli Huang <yuli@google.com> | 2011-10-20 18:29:05 +0800 |
|---|---|---|
| committer | Yuli Huang <yuli@google.com> | 2011-10-20 22:13:07 +0800 |
| commit | 7b62f4889a95406a00a4a5f25ef15f01322607eb (patch) | |
| tree | c46ea6b9d1352374dae4e5856fc09ed54a83fdee /res | |
| parent | a77f6c46815195c8a2a39c9539163ea3e8683b5d (diff) | |
| download | android_packages_apps_Gallery2-7b62f4889a95406a00a4a5f25ef15f01322607eb.tar.gz android_packages_apps_Gallery2-7b62f4889a95406a00a4a5f25ef15f01322607eb.tar.bz2 android_packages_apps_Gallery2-7b62f4889a95406a00a4a5f25ef15f01322607eb.zip | |
Fix b/5401109.
1. Add FlipView similar to existing RotateView.
2. Add flipPhoto() similar to existing rotatePhoto() in PhotoView, and
add setRenderToFlip() in RendererUtils.
3. Make FlipAction use FlipView/PhotoView similar to how RotateAction
uses RotateView/PhotoView.
Change-Id: I5642266adbc248c0b8eda48ddc29558ae9cbd21e
Diffstat (limited to 'res')
| -rw-r--r-- | res/layout/photoeditor_flip_view.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/res/layout/photoeditor_flip_view.xml b/res/layout/photoeditor_flip_view.xml new file mode 100644 index 000000000..0b7a7a743 --- /dev/null +++ b/res/layout/photoeditor_flip_view.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<com.android.gallery3d.photoeditor.actions.FlipView + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/fullscreen_effect_tool" + style="@style/FullscreenToolView"/> |
