summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-08-03 05:14:51 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-03 05:14:51 -0700
commit8d79690e30a4134f133a5a04bcb6f808c08a0b7b (patch)
treef74bd751c0c1b7b73fece49504e6efcb86237d3c /res
parent4edad0fbfadf5bf47726a33aa1a9a62dedd49a3a (diff)
parent6c866cea81fb23f694edc8f328f85b0c90c7bce2 (diff)
downloadandroid_packages_apps_Gallery2-8d79690e30a4134f133a5a04bcb6f808c08a0b7b.tar.gz
android_packages_apps_Gallery2-8d79690e30a4134f133a5a04bcb6f808c08a0b7b.tar.bz2
android_packages_apps_Gallery2-8d79690e30a4134f133a5a04bcb6f808c08a0b7b.zip
Merge "Gallery2: Fix CANCEL and DONE in ExportDialog disappeared"
Diffstat (limited to 'res')
-rw-r--r--res/layout/filtershow_export_dialog.xml141
1 files changed, 73 insertions, 68 deletions
diff --git a/res/layout/filtershow_export_dialog.xml b/res/layout/filtershow_export_dialog.xml
index 394a89f2e..971260bdf 100644
--- a/res/layout/filtershow_export_dialog.xml
+++ b/res/layout/filtershow_export_dialog.xml
@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
+<?xml version="1.0" encoding="utf-8"?><!--
Copyright (C) 2013 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,93 +13,99 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="?android:attr/dialogPreferredPadding" >
-
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_horizontal|center_vertical"
- android:textSize="16sp"
- android:textColor="@color/albumset_label_background"
- android:text="@string/select_output_settings"/>
-
- <GridLayout
- android:orientation="horizontal"
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:alignmentMode="alignBounds"
- android:layout_marginTop="8dp"
- android:columnOrderPreserved="false"
- android:columnCount="5">
+ android:orientation="vertical"
+ android:padding="?android:attr/dialogPreferredPadding">
<TextView
- android:text="@string/size"
- android:layout_marginEnd="8dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_horizontal|center_vertical"
+ android:text="@string/select_output_settings"
+ android:textColor="@color/albumset_label_background"
+ android:textSize="16sp" />
+
+ <GridLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="8dp"
+ android:alignmentMode="alignBounds"
+ android:columnCount="5"
+ android:columnOrderPreserved="false"
+ android:orientation="horizontal">
+
+ <TextView
android:layout_gravity="start|center_vertical"
- android:textSize="16sp"
- android:textColor="@color/albumlist_label_title"/>
+ android:layout_marginEnd="8dp"
+ android:text="@string/size"
+ android:textColor="@color/albumlist_label_title"
+ android:textSize="16sp" />
- <EditText
+ <EditText
android:id="@+id/editableWidth"
+ android:layout_width="70dp"
android:layout_gravity="right|center_vertical"
android:gravity="center"
- android:layout_width="70dp"
- android:inputType="number"/>
+ android:inputType="number" />
- <TextView
- android:text="@string/x"
+ <TextView
android:layout_gravity="center"
- android:textColor="@color/albumlist_label_title"/>
+ android:text="@string/x"
+ android:textColor="@color/albumlist_label_title" />
- <EditText
+ <EditText
android:id="@+id/editableHeight"
- android:layout_gravity="left|center_vertical"
android:layout_width="70dp"
+ android:layout_gravity="left|center_vertical"
android:gravity="center"
- android:inputType="number"/>
+ android:inputType="number" />
- <TextView
+ <TextView
android:id="@+id/estimadedSize"
android:layout_gravity="end|center_vertical"
- android:textSize="16sp"
- android:textColor="@color/albumlist_label_title"/>
+ android:textColor="@color/albumlist_label_title"
+ android:textSize="16sp" />
- <LinearLayout
- android:layout_columnSpan="5"
- android:layout_marginTop="16dp"
+ <LinearLayout
android:layout_width="match_parent"
- android:layout_height="wrap_content">
+ android:layout_height="wrap_content"
+ android:layout_columnSpan="5"
+ android:layout_marginTop="16dp">
- <TextView
- android:text="@string/quality"
- android:layout_width="wrap_content"
- android:layout_height="fill_parent"
- android:textSize="16sp"
- android:textColor="@color/albumlist_label_title" />
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="fill_parent"
+ android:text="@string/quality"
+ android:textColor="@color/albumlist_label_title"
+ android:textSize="16sp" />
- <SeekBar
- android:id="@+id/qualitySeekBar"
- android:layout_gravity="center"
- android:max="100"
- android:progress="100"
- android:layout_height="wrap_content"
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_columnSpan="3"
- android:minWidth="250dp" />
+ <SeekBar
+ android:id="@+id/qualitySeekBar"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_columnSpan="3"
+ android:layout_gravity="center"
+ android:layout_weight="1"
+ android:max="100"
+ android:minWidth="250dp"
+ android:progress="100" />
+
+ <TextView
+ android:id="@+id/qualityTextView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="end|center_vertical"
+ android:textColor="@color/albumlist_label_title"
+ android:textSize="16sp" />
+ </LinearLayout>
+ </GridLayout>
+ </LinearLayout>
+
+</ScrollView>
- <TextView
- android:id="@+id/qualityTextView"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="16sp"
- android:textColor="@color/albumlist_label_title"
- android:layout_gravity="end|center_vertical" />
- </LinearLayout>
- </GridLayout>
-</LinearLayout>