OSDN Git Service

am 35d4b725: (-s ours) am 30d0576f: (-s ours) am 3fa82573: (-s ours) am 8fe98c70...
[android-x86/packages-apps-Gallery2.git] / res / layout / filtershow_export_dialog.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:orientation="vertical"
20               android:layout_width="match_parent"
21               android:layout_height="wrap_content"
22               android:divider="?android:dividerVertical"
23               android:showDividers="middle">
24
25     <TextView
26         android:layout_width="wrap_content"
27         android:layout_height="wrap_content"
28         android:layout_gravity="center_horizontal|center_vertical"
29         android:layout_margin="7dp"
30         android:text="@string/select_output_settings"/>
31
32     <GridLayout
33         android:orientation="horizontal"
34         android:layout_width="match_parent"
35         android:layout_height="wrap_content"
36         android:alignmentMode="alignBounds"
37         android:useDefaultMargins="true"
38         android:columnOrderPreserved="false"
39         android:columnCount="5">
40
41         <TextView
42                 android:text="@string/size"
43                 android:layout_marginLeft="8dp"
44                 android:layout_gravity="start|center_vertical"/>
45
46         <EditText
47                 android:id="@+id/editableWidth"
48                 android:layout_gravity="right|center_vertical"
49                 android:layout_width="100dp"
50                 android:inputType="number"/>
51
52         <TextView
53                 android:text="@string/x"
54                 android:layout_gravity="center"/>
55
56         <EditText
57                 android:id="@+id/editableHeight"
58                 android:layout_gravity="left|center_vertical"
59                 android:layout_width="100dp"
60                 android:inputType="number"/>
61
62         <TextView
63                 android:id="@+id/estimadedSize"
64                 android:layout_marginRight="8dp"
65                 android:layout_gravity="end|center_vertical"/>
66
67         <LinearLayout
68                 android:layout_columnSpan="5"
69                 android:layout_width="match_parent"
70                 android:layout_height="wrap_content">
71
72             <TextView
73                 android:text="@string/quality"
74                 android:layout_width="wrap_content"
75                 android:layout_height="fill_parent"
76                 android:layout_margin="8dp" />
77
78             <SeekBar
79                 android:id="@+id/qualitySeekBar"
80                 android:layout_margin="8dp"
81                 android:layout_gravity="center"
82                 android:max="100"
83                 android:progress="100"
84                 android:layout_height="wrap_content"
85                 android:layout_width="0dp"
86                 android:layout_weight="1"
87                 android:layout_columnSpan="3"
88                 android:minWidth="250dp" />
89
90             <TextView
91                 android:id="@+id/qualityTextView"
92                 android:layout_width="wrap_content"
93                 android:layout_height="wrap_content"
94                 android:layout_margin="8dp"
95                 android:layout_gravity="end|center_vertical" />
96
97         </LinearLayout>
98
99
100     </GridLayout>
101
102     <LinearLayout
103             android:orientation="horizontal"
104             android:layout_width="match_parent"
105             android:layout_height="48dp"
106             style="?android:attr/buttonBarStyle">
107
108         <Button
109                 android:id="@+id/cancel"
110                 android:layout_width="0dp"
111                 android:layout_height="match_parent"
112                 android:layout_weight="1"
113                 android:text="@string/cancel"
114                 style="?android:attr/buttonBarButtonStyle" />
115
116         <Button
117                 android:id="@+id/done"
118                 android:layout_width="0dp"
119                 android:layout_height="match_parent"
120                 android:layout_weight="1"
121                 android:text="@string/done"
122                 style="?android:attr/buttonBarButtonStyle"/>
123
124     </LinearLayout>
125
126 </LinearLayout>