effect_setting_popup.xml revision 1e99673af90451eaffeb100735f38e6ce0f18456
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
48                        android:text="@string/effect_silly_faces"
49                        style="@style/EffectSettingTypeTitle"/>
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                <com.android.camera.ui.ExpandedGridView android:id="@+id/effect_background"
60                        android:visibility="gone"
61                        style="@style/EffectSettingGrid"/>
62            </LinearLayout>
63        </ScrollView>
64    </LinearLayout>
65</com.android.camera.ui.EffectSettingPopup>
66