• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17<com.android.camera.ui.TimeIntervalPopup xmlns:android="http://schemas.android.com/apk/res/android"
18        style="@style/SettingPopupWindow">
19
20    <LinearLayout android:orientation="vertical"
21            android:background="@color/popup_background"
22            android:layout_height="wrap_content"
23            android:layout_width="@dimen/big_setting_popup_window_width">
24
25        <LinearLayout android:orientation="horizontal"
26                android:layout_height="wrap_content"
27                android:layout_width="match_parent">
28            <FrameLayout
29                    android:layout_width="wrap_content"
30                    android:layout_height="wrap_content"
31                    android:minHeight="@dimen/popup_title_frame_min_height">
32                <TextView android:id="@+id/title"
33                        style="@style/PopupTitleText" />
34            </FrameLayout>
35
36            <LinearLayout
37                    android:layout_height="match_parent"
38                    android:layout_width="match_parent"
39                    android:orientation="horizontal">
40                <com.android.camera.ui.Switch
41                        android:id="@+id/time_lapse_switch"
42                        android:layout_width="match_parent"
43                        android:layout_height="wrap_content"
44                        android:layout_gravity="right|center_vertical" />
45             </LinearLayout>
46        </LinearLayout>
47
48        <View style="@style/PopupTitleSeparator" />
49
50        <LinearLayout
51                android:layout_width="match_parent"
52                android:layout_height="wrap_content"
53                android:orientation="vertical">
54
55            <TextView
56                    android:id="@+id/set_time_interval_help_text"
57                    android:layout_width="wrap_content"
58                    android:layout_height="wrap_content"
59                    android:paddingTop="16dip"
60                    android:paddingLeft="16dip"
61                    android:paddingRight="16dip"
62                    android:paddingBottom="16dip"
63                    android:textAppearance="?android:attr/textAppearanceMedium"
64                    android:text="@string/set_time_interval_help"/>
65        </LinearLayout>
66
67        <LinearLayout android:layout_width="match_parent"
68                android:layout_height="wrap_content"
69                android:layout_gravity="center_horizontal" >
70                <include layout="@layout/time_interval_picker"/>
71        </LinearLayout>
72
73        <LinearLayout
74                android:layout_width="match_parent"
75                android:layout_height="wrap_content"
76                android:orientation="vertical"
77                android:divider="?android:attr/dividerHorizontal"
78                android:showDividers="beginning"
79                android:dividerPadding="0dip">
80            <Button android:id="@+id/time_lapse_interval_set_button"
81                    android:layout_width="match_parent"
82                    android:layout_height="wrap_content"
83                    android:layout_gravity="center_horizontal"
84                    android:textAppearance="?android:attr/textAppearanceMedium"
85                    style="?android:attr/buttonBarButtonStyle"
86                    android:text="@string/time_lapse_interval_set" />
87        </LinearLayout>
88    </LinearLayout>
89
90</com.android.camera.ui.TimeIntervalPopup>
91