1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2010 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 style="@style/EffectsContainer"> 20 21 <com.android.gallery3d.photoeditor.actions.CropAction style="@style/Effect" 22 android:tag="@string/crop_tooltip"> 23 <ImageView 24 style="@style/EffectIcon" 25 android:src="@drawable/photoeditor_effect_crop"/> 26 <TextView 27 android:id="@+id/effect_label" 28 android:text="@string/crop" 29 style="@style/EffectLabel"/> 30 </com.android.gallery3d.photoeditor.actions.CropAction> 31 <com.android.gallery3d.photoeditor.actions.RedEyeAction style="@style/Effect" 32 android:tag="@string/redeye_tooltip"> 33 <ImageView 34 style="@style/EffectIcon" 35 android:src="@drawable/photoeditor_effect_redeye"/> 36 <TextView 37 android:id="@+id/effect_label" 38 android:text="@string/redeye" 39 style="@style/EffectLabel"/> 40 </com.android.gallery3d.photoeditor.actions.RedEyeAction> 41 <com.android.gallery3d.photoeditor.actions.FaceliftAction style="@style/Effect"> 42 <ImageView 43 style="@style/EffectIcon" 44 android:src="@drawable/photoeditor_effect_facelift"/> 45 <TextView 46 android:id="@+id/effect_label" 47 android:text="@string/facelift" 48 style="@style/EffectLabel"/> 49 </com.android.gallery3d.photoeditor.actions.FaceliftAction> 50 <com.android.gallery3d.photoeditor.actions.FaceTanAction style="@style/Effect"> 51 <ImageView 52 style="@style/EffectIcon" 53 android:src="@drawable/photoeditor_effect_facetan"/> 54 <TextView 55 android:id="@+id/effect_label" 56 android:text="@string/facetan" 57 style="@style/EffectLabel"/> 58 </com.android.gallery3d.photoeditor.actions.FaceTanAction> 59 <com.android.gallery3d.photoeditor.actions.StraightenAction style="@style/Effect" 60 android:tag="@string/straighten_tooltip"> 61 <ImageView 62 style="@style/EffectIcon" 63 android:src="@drawable/photoeditor_effect_straighten"/> 64 <TextView 65 android:id="@+id/effect_label" 66 android:text="@string/straighten" 67 style="@style/EffectLabel"/> 68 </com.android.gallery3d.photoeditor.actions.StraightenAction> 69 <com.android.gallery3d.photoeditor.actions.RotateAction style="@style/Effect" 70 android:tag="@string/rotate_tooltip"> 71 <ImageView 72 style="@style/EffectIcon" 73 android:src="@drawable/photoeditor_effect_rotate"/> 74 <TextView 75 android:id="@+id/effect_label" 76 android:text="@string/rotate" 77 style="@style/EffectLabel"/> 78 </com.android.gallery3d.photoeditor.actions.RotateAction> 79 <com.android.gallery3d.photoeditor.actions.FlipAction style="@style/Effect" 80 android:tag="@string/flip_tooltip"> 81 <ImageView 82 style="@style/EffectIcon" 83 android:src="@drawable/photoeditor_effect_flip"/> 84 <TextView 85 android:id="@+id/effect_label" 86 android:text="@string/flip" 87 style="@style/EffectLabel"/> 88 </com.android.gallery3d.photoeditor.actions.FlipAction> 89 <com.android.gallery3d.photoeditor.actions.SharpenAction style="@style/Effect"> 90 <ImageView 91 style="@style/EffectIcon" 92 android:src="@drawable/photoeditor_effect_sharpen"/> 93 <TextView 94 android:id="@+id/effect_label" 95 android:text="@string/sharpen" 96 style="@style/EffectLabel"/> 97 </com.android.gallery3d.photoeditor.actions.SharpenAction> 98 99 </LinearLayout> 100