OSDN Git Service

Import translations. DO NOT MERGE
[android-x86/packages-apps-Gallery2.git] / res / layout-land / filtershow_grad_ui.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     <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
26                 android:layout_width="match_parent"
27                 android:layout_height="wrap_content"
28                 android:columnCount="2"
29                 android:orientation="horizontal" >
30
31         <TextView
32                 android:id="@+id/controlName1"
33                 android:layout_gravity="left"
34                 android:layout_marginLeft="8dip"
35                 android:text="@string/editor_grad_brightness" />
36
37         <TextView
38                 android:id="@+id/gradBrightnessValue"
39                 android:layout_gravity="right"
40                 android:layout_marginRight="8dip"
41                 android:textStyle="bold" />
42
43         <SeekBar
44                 android:id="@+id/gradBrightnessSeekBar"
45                 android:layout_width="match_parent"
46                 android:layout_column="0"
47                 android:layout_columnSpan="2"
48                 android:layout_gravity="fill_horizontal"
49                 style="@style/FilterShowSlider" />
50     </GridLayout>
51
52
53     <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
54                 android:layout_width="match_parent"
55                 android:layout_height="wrap_content"
56                 android:columnCount="2"
57                 android:orientation="horizontal" >
58
59         <TextView
60                 android:id="@+id/controlName2"
61                 android:layout_gravity="left"
62                 android:layout_marginLeft="8dip"
63                 android:text="@string/editor_grad_saturation"/>
64
65         <TextView
66                 android:id="@+id/gradSaturationValue"
67                 android:layout_gravity="right"
68                 android:layout_marginRight="8dip"
69                 android:textStyle="bold" />
70
71         <SeekBar
72                 android:id="@+id/gradSaturationSeekBar"
73                 android:layout_width="match_parent"
74                 android:layout_column="0"
75                 android:layout_columnSpan="2"
76                 android:layout_gravity="fill_horizontal"
77                 style="@style/FilterShowSlider" />
78     </GridLayout>
79     <GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
80                 android:layout_width="match_parent"
81                 android:layout_height="wrap_content"
82                 android:columnCount="2"
83                 android:orientation="horizontal" >
84
85         <TextView
86                 android:id="@+id/controlName3"
87                 android:layout_gravity="left"
88                 android:layout_marginLeft="8dip"
89                 android:text="@string/editor_grad_contrast"/>
90
91         <TextView
92                 android:id="@+id/gradContrastValue"
93                 android:layout_gravity="right"
94                 android:layout_marginRight="8dip"
95                 android:textStyle="bold" />
96
97         <SeekBar
98                 android:id="@+id/gradContrastSeekBar"
99                 android:layout_width="match_parent"
100                 android:layout_column="0"
101                 android:layout_columnSpan="2"
102                 android:layout_gravity="fill_horizontal"
103                 style="@style/FilterShowSlider" />
104     </GridLayout>
105     <LinearLayout
106             android:layout_width="match_parent"
107             android:layout_height="wrap_content"
108             android:orientation="horizontal"
109             android:layout_marginTop="24dp">
110
111
112         <ImageButton
113             android:id="@+id/gradAddButton"
114             android:layout_width="wrap_content"
115             android:layout_height="wrap_content"
116             android:layout_gravity="start|center_vertical"
117             android:gravity="start"
118             android:scaleType="centerInside"
119             android:layout_weight="0"
120             android:background="@drawable/filtershow_button_background"
121             android:src="@drawable/filtershow_addpoint"
122             android:paddingBottom="8dp"
123             android:layout_marginLeft="48dp" />
124
125         <View
126             android:layout_width="wrap_content"
127             android:layout_height="8dp"
128             android:layout_weight="1"/>
129
130         <ImageButton
131             android:id="@+id/gradDelButton"
132             android:layout_width="wrap_content"
133             android:layout_height="wrap_content"
134             android:layout_gravity="end|center_vertical"
135             android:gravity="end"
136             android:scaleType="centerInside"
137             android:layout_weight="0"
138             android:background="@drawable/filtershow_button_background"
139             android:src="@drawable/ic_menu_trash_holo_light"
140             android:paddingBottom="8dp"
141             android:layout_marginRight="48dp" />
142
143     </LinearLayout>
144
145 </LinearLayout>