OSDN Git Service

Import translations. DO NOT MERGE
[android-x86/packages-apps-Gallery2.git] / res / layout / filtershow_color_picker.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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
18               android:layout_width="match_parent"
19               android:layout_height="match_parent"
20               android:background="@color/background_main_toolbar">
21
22     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
23                   android:orientation="vertical"
24                   android:id="@+id/RelativeLayout1"
25                   android:layout_width="match_parent"
26                   android:layout_height="match_parent"
27                   android:background="@color/background_main_toolbar">
28
29         <com.android.gallery3d.filtershow.colorpicker.ColorCompareView
30                 android:id="@+id/btnSelect"
31                 android:layout_width="match_parent"
32                 android:layout_height="32dp"
33                 android:layout_marginLeft="20dp"
34                 android:layout_marginRight="20dp"
35                 android:layout_marginTop="20dp"
36                 android:layout_marginBottom="0dp"
37                 />
38         <com.android.gallery3d.filtershow.colorpicker.ColorSVRectView
39                 android:id="@+id/colorRectView"
40                 android:layout_width="match_parent"
41                 android:layout_height="256dp"
42                 android:layout_marginTop="0dp"
43                 android:layout_marginRight="1dp"/>
44
45         <com.android.gallery3d.filtershow.colorpicker.ColorHueView
46                 android:id="@+id/ColorHueView"
47                 android:layout_width="match_parent"
48                 android:layout_marginTop="0dp"
49                 android:layout_height="32dp" />
50
51         <com.android.gallery3d.filtershow.colorpicker.ColorOpacityView
52                 android:id="@+id/colorOpacityView"
53                 android:layout_width="match_parent"
54                 android:layout_marginTop="24dp"
55                 android:layout_height="32dp" />
56
57         <LinearLayout android:orientation="horizontal"
58                       android:layout_width="match_parent"
59                       android:layout_height="match_parent"
60                       android:layout_marginTop="4dp">
61             <ImageButton
62                     android:id="@+id/cancelColorPick"
63                     android:layout_width="wrap_content"
64                     android:layout_height="fill_parent"
65                     android:layout_gravity="left|center_vertical"
66                     android:background="@android:color/transparent"
67                     android:layout_weight=".1"
68                     android:gravity="center"
69                     android:src="@drawable/ic_menu_cancel_holo_light"
70                     android:textSize="18dip"/>
71
72             <ImageView
73                     android:layout_width="2dp"
74                     android:layout_height="fill_parent"
75                     android:src="@drawable/filtershow_vertical_bar"/>
76             <ImageButton
77                     android:id="@+id/applyColorPick"
78                     android:layout_width="wrap_content"
79                     android:layout_height="fill_parent"
80                     android:layout_gravity="right|center_vertical"
81                     android:layout_weight=".1"
82                     android:background="@android:color/transparent"
83                     android:gravity="center"
84                     android:src="@drawable/ic_menu_done_holo_light"
85                     android:textSize="18dip"/>
86         </LinearLayout>
87     </LinearLayout>
88
89 </LinearLayout>