diff options
author | yongga <yongga@codeaurora.org> | 2016-07-19 12:34:39 +0800 |
---|---|---|
committer | likaid <likaid@codeaurora.org> | 2016-07-19 16:07:42 +0800 |
commit | 6c866cea81fb23f694edc8f328f85b0c90c7bce2 (patch) | |
tree | 0544e387db81b858113d873f11083e0e5a06dc29 /res | |
parent | b7f0f7f067f5979e7e7e52aa9836ed3dbcca475c (diff) | |
download | android_packages_apps_Gallery2-6c866cea81fb23f694edc8f328f85b0c90c7bce2.tar.gz android_packages_apps_Gallery2-6c866cea81fb23f694edc8f328f85b0c90c7bce2.tar.bz2 android_packages_apps_Gallery2-6c866cea81fb23f694edc8f328f85b0c90c7bce2.zip |
Gallery2: Fix CANCEL and DONE in ExportDialog disappeared
CANCEL and DONE button in ExportDialog disappeared in landscape mode
when set the Font size as Largest and set Display as Large.
Modify export dialog layout in Photo Editor.
Change-Id: I77ea871c3c5c89c0c8156d9a11f4377c9152290e
CRs-Fixed: 1038566
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/filtershow_export_dialog.xml | 141 |
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> |