OSDN Git Service

Merge "Exclude trampoline activity from Recents" into gb-ub-photos-carlsbad
[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_gravity="right|center_vertical"/>
44
45         <EditText
46                 android:id="@+id/editableWidth"
47                 android:layout_gravity="right|center_vertical"
48                 android:layout_width="100dp"
49                 android:inputType="number"/>
50
51         <TextView
52                 android:text="@string/x"
53                 android:layout_gravity="center"/>
54
55         <EditText
56                 android:id="@+id/editableHeight"
57                 android:layout_gravity="left|center_vertical"
58                 android:layout_width="100dp"
59                 android:inputType="number"/>
60
61         <TextView
62                 android:id="@+id/estimadedSize"
63                 android:layout_gravity="center"/>
64
65         <TextView
66                 android:text="@string/quality"
67                 android:layout_margin="7dp"
68                 android:layout_gravity="right|center_vertical" />
69
70         <SeekBar
71                 android:id="@+id/qualitySeekBar"
72                 android:layout_margin="7dp"
73                 android:layout_gravity="center"
74                 android:max="100"
75                 android:progress="100"
76                 android:layout_width="wrap_content"
77                 android:layout_columnSpan="3"
78                 android:minWidth="250dp"/>
79
80         <TextView
81                 android:id="@+id/qualityTextView"
82                 android:layout_margin="7dp"
83                 android:layout_gravity="left|center_vertical"/>
84
85     </GridLayout>
86
87     <LinearLayout
88             android:orientation="horizontal"
89             android:layout_width="match_parent"
90             android:layout_height="48dp"
91             style="?android:attr/buttonBarStyle">
92
93         <Button
94                 android:id="@+id/cancel"
95                 android:layout_width="0dp"
96                 android:layout_height="match_parent"
97                 android:layout_weight="1"
98                 android:text="@string/cancel"
99                 style="?android:attr/buttonBarButtonStyle" />
100
101         <Button
102                 android:id="@+id/done"
103                 android:layout_width="0dp"
104                 android:layout_height="match_parent"
105                 android:layout_weight="1"
106                 android:text="@string/done"
107                 style="?android:attr/buttonBarButtonStyle"/>
108
109     </LinearLayout>
110
111 </LinearLayout>