OSDN Git Service

am c6e44c1d: am b6b1d176: Merge "Fix style for crop activity" into gb-ub-photos-carlsbad
[android-x86/packages-apps-Gallery2.git] / res / layout / effect_setting_popup.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2011 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 <com.android.camera.ui.EffectSettingPopup xmlns:android="http://schemas.android.com/apk/res/android"
17         style="@style/SettingPopupWindow">
18     <LinearLayout android:orientation="vertical"
19             android:background="@color/popup_background"
20             android:layout_height="wrap_content"
21             android:layout_width="@dimen/big_setting_popup_window_width">
22         <FrameLayout
23                 android:layout_width="match_parent"
24                 android:layout_height="wrap_content"
25                 android:minHeight="@dimen/popup_title_frame_min_height">
26             <TextView android:id="@+id/title"
27                     style="@style/PopupTitleText" />
28         </FrameLayout>
29         <View style="@style/PopupTitleSeparator" />
30         <ScrollView
31                 android:layout_width="match_parent"
32                 android:layout_height="wrap_content">
33             <LinearLayout
34                     android:orientation="vertical"
35                     android:layout_width="match_parent"
36                     android:layout_height="wrap_content">
37                 <TextView android:id="@+id/clear_effects"
38                         android:text="@string/clear_effects"
39                         style="@style/EffectSettingTypeTitle"
40                         android:textSize="@dimen/effect_setting_clear_text_size"
41                         android:minHeight="@dimen/effect_setting_clear_text_min_height"
42                         android:background="@drawable/bg_pressed"/>
43                 <TextView android:id="@+id/effect_silly_faces_title"
44                         android:text="@string/effect_silly_faces"
45                         android:visibility="gone"
46                         style="@style/EffectSettingTypeTitle"/>
47                 <View android:id="@+id/effect_silly_faces_title_separator"
48                         android:visibility="gone"
49                         style="@style/EffectTypeSeparator"/>
50                 <com.android.camera.ui.ExpandedGridView android:id="@+id/effect_silly_faces"
51                         style="@style/EffectSettingGrid"/>
52                 <View android:id="@+id/effect_background_separator"
53                         android:visibility="gone"
54                         style="@style/EffectTitleSeparator"/>
55                 <TextView android:id="@+id/effect_background_title"
56                         android:text="@string/effect_background"
57                         android:visibility="gone"
58                         style="@style/EffectSettingTypeTitle"/>
59                 <View android:id="@+id/effect_background_title_separator"
60                         android:visibility="gone"
61                         style="@style/EffectTypeSeparator"/>
62                 <com.android.camera.ui.ExpandedGridView android:id="@+id/effect_background"
63                         android:visibility="gone"
64                         style="@style/EffectSettingGrid"/>
65             </LinearLayout>
66         </ScrollView>
67     </LinearLayout>
68 </com.android.camera.ui.EffectSettingPopup>