OSDN Git Service

am cc2f8c4e: Merge "Fix 5543077: Gallery UI tweaks." into ics-mr1
[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         <ImageButton
23             android:id="@+id/effect_button"
24             style="@style/EffectIcon"
25             android:src="@drawable/photoeditor_effect_temperature"/>
26         <TextView
27             android:id="@+id/effect_label"
28             android:text="@string/temperature"
29             style="@style/EffectLabel"/>
30     </com.android.gallery3d.photoeditor.actions.ColorTemperatureAction>
31     <com.android.gallery3d.photoeditor.actions.SaturationAction style="@style/Effect">
32         <ImageButton
33             android:id="@+id/effect_button"
34             style="@style/EffectIcon"
35             android:src="@drawable/photoeditor_effect_saturation"/>
36         <TextView
37             android:id="@+id/effect_label"
38             android:text="@string/saturation"
39             style="@style/EffectLabel"/>
40     </com.android.gallery3d.photoeditor.actions.SaturationAction>
41     <com.android.gallery3d.photoeditor.actions.GrayscaleAction style="@style/Effect">
42         <ImageButton
43             android:id="@+id/effect_button"
44             style="@style/EffectIcon"
45             android:src="@drawable/photoeditor_effect_grayscale"/>
46         <TextView
47             android:id="@+id/effect_label"
48             android:text="@string/grayscale"
49             style="@style/EffectLabel"/>
50     </com.android.gallery3d.photoeditor.actions.GrayscaleAction>
51     <com.android.gallery3d.photoeditor.actions.SepiaAction style="@style/Effect">
52         <ImageButton
53             android:id="@+id/effect_button"
54             style="@style/EffectIcon"
55             android:src="@drawable/photoeditor_effect_sepia"/>
56         <TextView
57             android:id="@+id/effect_label"
58             android:text="@string/sepia"
59             style="@style/EffectLabel"/>
60     </com.android.gallery3d.photoeditor.actions.SepiaAction>
61     <com.android.gallery3d.photoeditor.actions.NegativeAction style="@style/Effect">
62         <ImageButton
63             android:id="@+id/effect_button"
64             style="@style/EffectIcon"
65             android:src="@drawable/photoeditor_effect_negative"/>
66         <TextView
67             android:id="@+id/effect_label"
68             android:text="@string/negative"
69             style="@style/EffectLabel"/>
70     </com.android.gallery3d.photoeditor.actions.NegativeAction>
71     <com.android.gallery3d.photoeditor.actions.TintAction style="@style/Effect">
72         <ImageButton
73             android:id="@+id/effect_button"
74             style="@style/EffectIcon"
75             android:src="@drawable/photoeditor_effect_tint"/>
76         <TextView
77             android:id="@+id/effect_label"
78             android:text="@string/tint"
79             style="@style/EffectLabel"/>
80     </com.android.gallery3d.photoeditor.actions.TintAction>
81     <com.android.gallery3d.photoeditor.actions.DuotoneAction style="@style/Effect">
82         <ImageButton
83             android:id="@+id/effect_button"
84             style="@style/EffectIcon"
85             android:src="@drawable/photoeditor_effect_duotone"/>
86         <TextView
87             android:id="@+id/effect_label"
88             android:text="@string/duotone"
89             style="@style/EffectLabel"/>
90     </com.android.gallery3d.photoeditor.actions.DuotoneAction>
91     <com.android.gallery3d.photoeditor.actions.DoodleAction style="@style/Effect"
92         android:tag="@string/doodle_tooltip">
93         <ImageButton
94             android:id="@+id/effect_button"
95             style="@style/EffectIcon"
96             android:src="@drawable/photoeditor_effect_doodle"/>
97         <TextView
98             android:id="@+id/effect_label"
99             android:text="@string/doodle"
100             style="@style/EffectLabel"/>
101     </com.android.gallery3d.photoeditor.actions.DoodleAction>
102
103 </LinearLayout>