OSDN Git Service

am ba635f61: am 1d44a7ef: am 34d607c8: am ddcb0880: Merge "ui cleanup" into gb-ub...
[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="match_parent"
22     android:layout_weight="0"
23     android:baselineAligned="false"
24     android:orientation="vertical"
25     android:visibility="visible" >
26
27     <LinearLayout
28         android:id="@+id/controlArea"
29         android:layout_width="match_parent"
30         android:layout_height="0dp"
31         android:layout_weight="1"
32         android:orientation="horizontal"
33         android:visibility="visible" >
34
35         <SeekBar
36             android:id="@+id/primarySeekBar"
37             android:layout_width="match_parent"
38             android:layout_height="wrap_content"
39             android:layout_gravity="center_vertical"
40             android:layout_weight="1"
41             style="@style/FilterShowSlider" />
42
43     </LinearLayout>
44
45     <LinearLayout
46         android:layout_width="match_parent"
47         android:layout_height="56dip"
48         android:layout_weight="0"
49         android:layout_gravity="bottom"
50         android:background="@color/background_main_toolbar"
51         android:orientation="horizontal"
52         android:baselineAligned="false"
53         android:visibility="visible" >
54
55         <ImageButton
56             android:id="@+id/cancelFilter"
57             android:layout_width="wrap_content"
58             android:layout_height="fill_parent"
59             android:layout_gravity="left|center_vertical"
60             android:background="@android:color/transparent"
61             android:layout_weight=".1"
62             android:gravity="center"
63             android:src="@drawable/ic_menu_cancel_holo_light"
64             android:textSize="18dip" />
65
66         <ImageView
67             android:layout_width="2dp"
68             android:layout_height="fill_parent"
69             android:src="@drawable/filtershow_vertical_bar" />
70
71         <LinearLayout
72             android:id="@+id/panelAccessoryViewList"
73             android:layout_width="wrap_content"
74             android:layout_height="match_parent"
75             android:layout_weight="1"
76             android:orientation="horizontal"
77             android:visibility="visible" >
78
79             <Button
80                 android:id="@+id/applyEffect"
81                 android:layout_width="fill_parent"
82                 android:layout_height="fill_parent"
83                 android:layout_gravity="center"
84                 android:background="@android:color/transparent"
85                 android:gravity="center"
86                 android:text="@string/apply_effect"
87                 android:textSize="18dip"
88                 android:drawableRight="@drawable/filtershow_menu_marker"/>
89         </LinearLayout>
90
91         <ImageView
92             android:layout_width="2dp"
93             android:layout_height="fill_parent"
94             android:src="@drawable/filtershow_vertical_bar" />
95
96         <ImageButton
97             android:id="@+id/applyFilter"
98             android:layout_width="wrap_content"
99             android:layout_height="fill_parent"
100             android:layout_gravity="right|center_vertical"
101             android:layout_weight=".1"
102             android:background="@android:color/transparent"
103             android:gravity="center"
104             android:src="@drawable/ic_menu_done_holo_light"
105             android:textSize="18dip" />
106     </LinearLayout>
107
108 </LinearLayout>