OSDN Git Service

Merge "Add the intent filter for video trimming." into gb-ub-photos-carlsbad
[android-x86/packages-apps-Gallery2.git] / res / layout / filtershow_editor_panel.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright (C) 2013 The Android Open Source Project
4
5      Licensed under the Apache License, Version 2.0 (the "License");
6      you may not use this file except in compliance with the License.
7      You may obtain a copy of the License at
8
9           http://www.apache.org/licenses/LICENSE-2.0
10
11      Unless required by applicable law or agreed to in writing, software
12      distributed under the License is distributed on an "AS IS" BASIS,
13      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14      See the License for the specific language governing permissions and
15      limitations under the License.
16 -->
17
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     android:id="@+id/top"
20     android:layout_width="match_parent"
21     android:layout_height="wrap_content"
22     android:orientation="vertical"
23     android:visibility="visible" >
24
25     <View
26             android:background="@color/toolbar_separation_line"
27             android:layout_height="1dip"
28             android:layout_width="match_parent"/>
29
30     <LinearLayout
31         android:layout_width="match_parent"
32         android:layout_height="wrap_content"
33         android:orientation="vertical">
34
35         <LinearLayout
36                 android:id="@+id/controlArea"
37                 android:layout_width="match_parent"
38                 android:layout_height="wrap_content"
39                 android:orientation="horizontal"
40                 android:layout_alignParentBottom="true"
41                 android:visibility="visible">
42
43             <SeekBar
44                     android:id="@+id/primarySeekBar"
45                     android:layout_width="match_parent"
46                     android:layout_height="wrap_content"
47                     android:layout_gravity="center_vertical"
48                     style="@style/FilterShowSlider"/>
49
50         </LinearLayout>
51
52         <LinearLayout
53                 android:layout_width="match_parent"
54                 android:layout_height="48dip"
55                 android:background="@color/background_main_toolbar"
56                 android:orientation="horizontal"
57                 android:baselineAligned="false"
58                 android:visibility="visible">
59
60             <ImageButton
61                     android:id="@+id/cancelFilter"
62                     android:layout_width="wrap_content"
63                     android:layout_height="fill_parent"
64                     android:layout_gravity="left|center_vertical"
65                     android:background="@android:color/transparent"
66                     android:layout_weight=".1"
67                     android:gravity="center"
68                     android:src="@drawable/ic_menu_cancel_holo_light"
69                     android:textSize="18dip"/>
70
71             <ImageView
72                     android:layout_width="2dp"
73                     android:layout_height="fill_parent"
74                     android:src="@drawable/filtershow_vertical_bar"/>
75
76             <LinearLayout
77                     android:id="@+id/panelAccessoryViewList"
78                     android:layout_width="wrap_content"
79                     android:layout_height="match_parent"
80                     android:layout_weight="1"
81                     android:orientation="horizontal"
82                     android:visibility="visible">
83
84                 <com.android.gallery3d.filtershow.editors.SwapButton
85                         android:id="@+id/applyEffect"
86                         android:layout_width="fill_parent"
87                         android:layout_height="fill_parent"
88                         android:layout_gravity="center"
89                         android:background="@android:color/transparent"
90                         android:gravity="center"
91                         android:text="@string/apply_effect"
92                         android:textSize="18dip"
93                         android:drawableRight="@drawable/filtershow_menu_marker"
94                         android:textAllCaps="true" />
95
96             </LinearLayout>
97
98             <ImageView
99                     android:layout_width="2dp"
100                     android:layout_height="fill_parent"
101                     android:src="@drawable/filtershow_vertical_bar"/>
102
103             <ImageButton
104                     android:id="@+id/applyFilter"
105                     android:layout_width="wrap_content"
106                     android:layout_height="fill_parent"
107                     android:layout_gravity="right|center_vertical"
108                     android:layout_weight=".1"
109                     android:background="@android:color/transparent"
110                     android:gravity="center"
111                     android:src="@drawable/ic_menu_done_holo_light"
112                     android:textSize="18dip"/>
113         </LinearLayout>
114
115         <FrameLayout android:id="@+id/state_panel_container"
116                      android:layout_width="match_parent"
117                      android:layout_height="wrap_content"
118                      android:visibility="visible" />
119
120     </LinearLayout>
121
122 </LinearLayout>