OSDN Git Service

Merge "Back should progress through Gallery and return Home for widget intents."...
[android-x86/packages-apps-Gallery2.git] / res / layout / photoeditor_effects_color.xml
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">
22         <ImageView
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">
31         <ImageView
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">
40         <ImageView
41             style="@style/EffectIcon"
42             android:src="@drawable/photoeditor_effect_grayscale"/>
43         <TextView
44             android:id="@+id/effect_label"
45             android:text="@string/grayscale"
46             style="@style/EffectLabel"/>
47     </com.android.gallery3d.photoeditor.actions.GrayscaleAction>
48     <com.android.gallery3d.photoeditor.actions.SepiaAction style="@style/Effect">
49         <ImageView
50             style="@style/EffectIcon"
51             android:src="@drawable/photoeditor_effect_sepia"/>
52         <TextView
53             android:id="@+id/effect_label"
54             android:text="@string/sepia"
55             style="@style/EffectLabel"/>
56     </com.android.gallery3d.photoeditor.actions.SepiaAction>
57     <com.android.gallery3d.photoeditor.actions.NegativeAction style="@style/Effect">
58         <ImageView
59             style="@style/EffectIcon"
60             android:src="@drawable/photoeditor_effect_negative"/>
61         <TextView
62             android:id="@+id/effect_label"
63             android:text="@string/negative"
64             style="@style/EffectLabel"/>
65     </com.android.gallery3d.photoeditor.actions.NegativeAction>
66     <com.android.gallery3d.photoeditor.actions.TintAction style="@style/Effect">
67         <ImageView
68             style="@style/EffectIcon"
69             android:src="@drawable/photoeditor_effect_tint"/>
70         <TextView
71             android:id="@+id/effect_label"
72             android:text="@string/tint"
73             style="@style/EffectLabel"/>
74     </com.android.gallery3d.photoeditor.actions.TintAction>
75     <com.android.gallery3d.photoeditor.actions.DuotoneAction style="@style/Effect">
76         <ImageView
77             style="@style/EffectIcon"
78             android:src="@drawable/photoeditor_effect_duotone"/>
79         <TextView
80             android:id="@+id/effect_label"
81             android:text="@string/duotone"
82             style="@style/EffectLabel"/>
83     </com.android.gallery3d.photoeditor.actions.DuotoneAction>
84     <com.android.gallery3d.photoeditor.actions.DoodleAction style="@style/Effect"
85         android:tag="@string/doodle_tooltip">
86         <ImageView
87             style="@style/EffectIcon"
88             android:src="@drawable/photoeditor_effect_doodle"/>
89         <TextView
90             android:id="@+id/effect_label"
91             android:text="@string/doodle"
92             style="@style/EffectLabel"/>
93     </com.android.gallery3d.photoeditor.actions.DoodleAction>
94
95 </LinearLayout>