blob: a2a88b2ac3632670011b447d1c532299b6c4a081 [file] [log] [blame]
Yuli Huangefd1db02011-09-12 22:25:30 +08001<?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 Huange26a8c82011-12-02 19:55:05 +080022 <ImageView
Yuli Huangefd1db02011-09-12 22:25:30 +080023 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 Huange26a8c82011-12-02 19:55:05 +080031 <ImageView
Yuli Huangefd1db02011-09-12 22:25:30 +080032 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 Huange26a8c82011-12-02 19:55:05 +080040 <ImageView
Yuli Huangefd1db02011-09-12 22:25:30 +080041 style="@style/EffectIcon"
42 android:src="@drawable/photoeditor_effect_grayscale"/>
43 <TextView
44 android:id="@+id/effect_label"
45 android:text="@string/grayscale"
Doris Liu81147432012-08-15 10:21:03 -070046 android:contentDescription="@string/accessibility_black_and_white"
Yuli Huangefd1db02011-09-12 22:25:30 +080047 style="@style/EffectLabel"/>
48 </com.android.gallery3d.photoeditor.actions.GrayscaleAction>
49 <com.android.gallery3d.photoeditor.actions.SepiaAction style="@style/Effect">
Yuli Huange26a8c82011-12-02 19:55:05 +080050 <ImageView
Yuli Huangefd1db02011-09-12 22:25:30 +080051 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 Huange26a8c82011-12-02 19:55:05 +080059 <ImageView
Yuli Huangefd1db02011-09-12 22:25:30 +080060 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 Huange26a8c82011-12-02 19:55:05 +080068 <ImageView
Yuli Huangefd1db02011-09-12 22:25:30 +080069 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 Huange26a8c82011-12-02 19:55:05 +080077 <ImageView
Yuli Huangefd1db02011-09-12 22:25:30 +080078 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 Huange26a8c82011-12-02 19:55:05 +080087 <ImageView
Yuli Huangefd1db02011-09-12 22:25:30 +080088 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>