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.CrossProcessAction style="@style/Effect"> 22 <ImageButton 23 android:id="@+id/effect_button" 24 style="@style/EffectIcon" 25 android:src="@drawable/photoeditor_effect_crossprocess"/> 26 <TextView 27 android:id="@+id/effect_label" 28 android:text="@string/crossprocess" 29 style="@style/EffectLabel"/> 30 </com.android.gallery3d.photoeditor.actions.CrossProcessAction> 31 <com.android.gallery3d.photoeditor.actions.PosterizeAction style="@style/Effect"> 32 <ImageButton 33 android:id="@+id/effect_button" 34 style="@style/EffectIcon" 35 android:src="@drawable/photoeditor_effect_posterize"/> 36 <TextView 37 android:id="@+id/effect_label" 38 android:text="@string/posterize" 39 style="@style/EffectLabel"/> 40 </com.android.gallery3d.photoeditor.actions.PosterizeAction> 41 <com.android.gallery3d.photoeditor.actions.LomoishAction style="@style/Effect"> 42 <ImageButton 43 android:id="@+id/effect_button" 44 style="@style/EffectIcon" 45 android:src="@drawable/photoeditor_effect_lomoish"/> 46 <TextView 47 android:id="@+id/effect_label" 48 android:text="@string/lomoish" 49 style="@style/EffectLabel"/> 50 </com.android.gallery3d.photoeditor.actions.LomoishAction> 51 <com.android.gallery3d.photoeditor.actions.DocumentaryAction style="@style/Effect"> 52 <ImageButton 53 android:id="@+id/effect_button" 54 style="@style/EffectIcon" 55 android:src="@drawable/photoeditor_effect_documentary"/> 56 <TextView 57 android:id="@+id/effect_label" 58 android:text="@string/documentary" 59 style="@style/EffectLabel"/> 60 </com.android.gallery3d.photoeditor.actions.DocumentaryAction> 61 <com.android.gallery3d.photoeditor.actions.VignetteAction style="@style/Effect"> 62 <ImageButton 63 android:id="@+id/effect_button" 64 style="@style/EffectIcon" 65 android:src="@drawable/photoeditor_effect_vignette"/> 66 <TextView 67 android:id="@+id/effect_label" 68 android:text="@string/vignette" 69 style="@style/EffectLabel"/> 70 </com.android.gallery3d.photoeditor.actions.VignetteAction> 71 <com.android.gallery3d.photoeditor.actions.GrainAction style="@style/Effect"> 72 <ImageButton 73 android:id="@+id/effect_button" 74 style="@style/EffectIcon" 75 android:src="@drawable/photoeditor_effect_grain"/> 76 <TextView 77 android:id="@+id/effect_label" 78 android:text="@string/grain" 79 style="@style/EffectLabel"/> 80 </com.android.gallery3d.photoeditor.actions.GrainAction> 81 <com.android.gallery3d.photoeditor.actions.FisheyeAction style="@style/Effect"> 82 <ImageButton 83 android:id="@+id/effect_button" 84 style="@style/EffectIcon" 85 android:src="@drawable/photoeditor_effect_fisheye"/> 86 <TextView 87 android:id="@+id/effect_label" 88 android:text="@string/fisheye" 89 style="@style/EffectLabel"/> 90 </com.android.gallery3d.photoeditor.actions.FisheyeAction> 91 92 </LinearLayout> 93