effect_setting_popup.xml revision 9cae606ce029cdcdc7534c164582c065e4241bb9
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
19    <LinearLayout android:orientation="vertical"
20        android:background="@color/popup_background"
21        android:layout_height="wrap_content"
22        android:layout_width="@dimen/big_setting_popup_window_width">
23
24        <FrameLayout
25                android:layout_width="match_parent"
26                android:layout_height="wrap_content"
27                android:minHeight="@dimen/popup_title_frame_min_height">
28            <TextView android:id="@+id/title"
29                    style="@style/PopupTitleText" />
30        </FrameLayout>
31
32        <View style="@style/PopupTitleSeperator" />
33        <ScrollView
34                android:layout_width="match_parent"
35                android:layout_height="wrap_content">
36            <LinearLayout
37                    android:orientation="vertical"
38                    android:layout_width="match_parent"
39                    android:layout_height="wrap_content">
40                <TextView android:id="@+id/clear_effects"
41                        android:text="@string/clear_effects"
42                        style="@style/EffectSettingTypeTitle"
43                        android:textSize="@dimen/effect_setting_clear_text_size"
44                        android:minHeight="@dimen/effect_setting_clear_text_min_height"
45                        android:background="@drawable/bg_pressed"/>
46                <View style="@style/EffectTitleSeparator"/>
47                <TextView android:id="@+id/effect_silly_faces_title"
48                        android:text="@string/effect_silly_faces"
49                        android:visibility="gone"
50                        style="@style/EffectSettingTypeTitle"/>
51                <com.android.camera.ui.ExpandedGridView android:id="@+id/effect_silly_faces"
52                        style="@style/EffectSettingGrid"/>
53                <View android:id="@+id/effect_background_separator"
54                        android:visibility="gone"
55                        style="@style/EffectTitleSeparator"/>
56                <TextView android:id="@+id/effect_background_title"
57                        android:text="@string/effect_background"
58                        android:visibility="gone"
59                        style="@style/EffectSettingTypeTitle"/>
60                <com.android.camera.ui.ExpandedGridView android:id="@+id/effect_background"
61                        android:visibility="gone"
62                        style="@style/EffectSettingGrid"/>
63            </LinearLayout>
64        </ScrollView>
65    </LinearLayout>
66</com.android.camera.ui.EffectSettingPopup>
67