diff options
| author | nicolasroard <nicolasroard@google.com> | 2013-08-11 13:55:29 -0700 |
|---|---|---|
| committer | nicolasroard <nicolasroard@google.com> | 2013-08-11 15:13:08 -0700 |
| commit | 55d6abe58c3a7574a5d76c68ec5c21848848e399 (patch) | |
| tree | a4b96fd123ab6a0c71a41366754329d89c15c54b /res/layout | |
| parent | fc4700c0e9f1804d4b61bd586f066172a25c7035 (diff) | |
| download | android_packages_apps_Gallery2-55d6abe58c3a7574a5d76c68ec5c21848848e399.tar.gz android_packages_apps_Gallery2-55d6abe58c3a7574a5d76c68ec5c21848848e399.tar.bz2 android_packages_apps_Gallery2-55d6abe58c3a7574a5d76c68ec5c21848848e399.zip | |
Fix export dialog (size export)
Change-Id: Ifa4bb6a990622bfc00f6b4fe4998417fec32e650
Diffstat (limited to 'res/layout')
| -rw-r--r-- | res/layout/filtershow_export_dialog.xml | 60 |
1 files changed, 45 insertions, 15 deletions
diff --git a/res/layout/filtershow_export_dialog.xml b/res/layout/filtershow_export_dialog.xml index 202107504..c7ce1e7c2 100644 --- a/res/layout/filtershow_export_dialog.xml +++ b/res/layout/filtershow_export_dialog.xml @@ -27,31 +27,61 @@ android:layout_height="wrap_content" android:layout_gravity="center_horizontal|center_vertical" android:layout_margin="7dp" - android:text="@string/select_compression"/> + android:text="@string/select_output_settings"/> - <LinearLayout - android:orientation="horizontal" - android:layout_width="match_parent" - android:layout_height="wrap_content"> + <GridLayout + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:alignmentMode="alignBounds" + android:useDefaultMargins="true" + android:columnOrderPreserved="false" + android:columnCount="5"> + + <TextView + android:text="@string/size" + android:layout_gravity="right|center_vertical"/> + + <EditText + android:id="@+id/editableWidth" + android:layout_gravity="right|center_vertical" + android:layout_width="100dp" + android:inputType="number"/> + + <TextView + android:text="@string/x" + android:layout_gravity="center"/> + + <EditText + android:id="@+id/editableHeight" + android:layout_gravity="left|center_vertical" + android:layout_width="100dp" + android:inputType="number"/> + + <TextView + android:id="@+id/estimadedSize" + android:layout_gravity="center"/> + + <TextView + android:text="@string/quality" + android:layout_margin="7dp" + android:layout_gravity="right|center_vertical" /> <SeekBar android:id="@+id/qualitySeekBar" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="3" android:layout_margin="7dp" + android:layout_gravity="center" android:max="100" - android:progress="100"/> + android:progress="100" + android:layout_width="400dp" + android:layout_columnSpan="3"/> <TextView android:id="@+id/qualityTextView" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="1" - android:layout_marginLeft="7dp" - android:layout_gravity="center_vertical|center_horizontal"/> + android:layout_margin="7dp" + android:layout_gravity="left|center_vertical"/> - </LinearLayout> + </GridLayout> <LinearLayout android:orientation="horizontal" |
