Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 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.ColorTemperatureAction style="@style/Effect"> |
Yuli Huang | e26a8c8 | 2011-12-02 19:55:05 +0800 | [diff] [blame] | 22 | <ImageView |
Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 23 | style="@style/EffectIcon" |
| 24 | android:src="@drawable/photoeditor_effect_temperature"/> |
| 25 | <TextView |
| 26 | android:id="@+id/effect_label" |
| 27 | android:text="@string/temperature" |
| 28 | style="@style/EffectLabel"/> |
| 29 | </com.android.gallery3d.photoeditor.actions.ColorTemperatureAction> |
| 30 | <com.android.gallery3d.photoeditor.actions.SaturationAction style="@style/Effect"> |
Yuli Huang | e26a8c8 | 2011-12-02 19:55:05 +0800 | [diff] [blame] | 31 | <ImageView |
Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 32 | style="@style/EffectIcon" |
| 33 | android:src="@drawable/photoeditor_effect_saturation"/> |
| 34 | <TextView |
| 35 | android:id="@+id/effect_label" |
| 36 | android:text="@string/saturation" |
| 37 | style="@style/EffectLabel"/> |
| 38 | </com.android.gallery3d.photoeditor.actions.SaturationAction> |
| 39 | <com.android.gallery3d.photoeditor.actions.GrayscaleAction style="@style/Effect"> |
Yuli Huang | e26a8c8 | 2011-12-02 19:55:05 +0800 | [diff] [blame] | 40 | <ImageView |
Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 41 | style="@style/EffectIcon" |
| 42 | android:src="@drawable/photoeditor_effect_grayscale"/> |
| 43 | <TextView |
| 44 | android:id="@+id/effect_label" |
| 45 | android:text="@string/grayscale" |
Doris Liu | 8114743 | 2012-08-15 10:21:03 -0700 | [diff] [blame] | 46 | android:contentDescription="@string/accessibility_black_and_white" |
Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 47 | style="@style/EffectLabel"/> |
| 48 | </com.android.gallery3d.photoeditor.actions.GrayscaleAction> |
| 49 | <com.android.gallery3d.photoeditor.actions.SepiaAction style="@style/Effect"> |
Yuli Huang | e26a8c8 | 2011-12-02 19:55:05 +0800 | [diff] [blame] | 50 | <ImageView |
Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 51 | style="@style/EffectIcon" |
| 52 | android:src="@drawable/photoeditor_effect_sepia"/> |
| 53 | <TextView |
| 54 | android:id="@+id/effect_label" |
| 55 | android:text="@string/sepia" |
| 56 | style="@style/EffectLabel"/> |
| 57 | </com.android.gallery3d.photoeditor.actions.SepiaAction> |
| 58 | <com.android.gallery3d.photoeditor.actions.NegativeAction style="@style/Effect"> |
Yuli Huang | e26a8c8 | 2011-12-02 19:55:05 +0800 | [diff] [blame] | 59 | <ImageView |
Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 60 | style="@style/EffectIcon" |
| 61 | android:src="@drawable/photoeditor_effect_negative"/> |
| 62 | <TextView |
| 63 | android:id="@+id/effect_label" |
| 64 | android:text="@string/negative" |
| 65 | style="@style/EffectLabel"/> |
| 66 | </com.android.gallery3d.photoeditor.actions.NegativeAction> |
| 67 | <com.android.gallery3d.photoeditor.actions.TintAction style="@style/Effect"> |
Yuli Huang | e26a8c8 | 2011-12-02 19:55:05 +0800 | [diff] [blame] | 68 | <ImageView |
Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 69 | style="@style/EffectIcon" |
| 70 | android:src="@drawable/photoeditor_effect_tint"/> |
| 71 | <TextView |
| 72 | android:id="@+id/effect_label" |
| 73 | android:text="@string/tint" |
| 74 | style="@style/EffectLabel"/> |
| 75 | </com.android.gallery3d.photoeditor.actions.TintAction> |
| 76 | <com.android.gallery3d.photoeditor.actions.DuotoneAction style="@style/Effect"> |
Yuli Huang | e26a8c8 | 2011-12-02 19:55:05 +0800 | [diff] [blame] | 77 | <ImageView |
Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 78 | style="@style/EffectIcon" |
| 79 | android:src="@drawable/photoeditor_effect_duotone"/> |
| 80 | <TextView |
| 81 | android:id="@+id/effect_label" |
| 82 | android:text="@string/duotone" |
| 83 | style="@style/EffectLabel"/> |
| 84 | </com.android.gallery3d.photoeditor.actions.DuotoneAction> |
| 85 | <com.android.gallery3d.photoeditor.actions.DoodleAction style="@style/Effect" |
| 86 | android:tag="@string/doodle_tooltip"> |
Yuli Huang | e26a8c8 | 2011-12-02 19:55:05 +0800 | [diff] [blame] | 87 | <ImageView |
Yuli Huang | efd1db0 | 2011-09-12 22:25:30 +0800 | [diff] [blame] | 88 | style="@style/EffectIcon" |
| 89 | android:src="@drawable/photoeditor_effect_doodle"/> |
| 90 | <TextView |
| 91 | android:id="@+id/effect_label" |
| 92 | android:text="@string/doodle" |
| 93 | style="@style/EffectLabel"/> |
| 94 | </com.android.gallery3d.photoeditor.actions.DoodleAction> |
| 95 | |
| 96 | </LinearLayout> |