summaryrefslogtreecommitdiffstats
path: root/res/layout/custom_grid_size_dialog.xml
diff options
context:
space:
mode:
authorRaj Yengisetty <rajesh@cyngn.com>2014-06-17 15:23:41 -0700
committerAbhisek Devkota <ciwrl@cyanogenmod.com>2014-06-23 21:23:33 +0000
commita5ee6730d45a4c5f6ccbce4d6332881f5f15d9b6 (patch)
tree1e184c8e4744680320e0f236b593b09259b29fb6 /res/layout/custom_grid_size_dialog.xml
parent94ba73919c6219be8054696b1a23ef0d97bc64fb (diff)
downloadandroid_packages_apps_Trebuchet-a5ee6730d45a4c5f6ccbce4d6332881f5f15d9b6.tar.gz
android_packages_apps_Trebuchet-a5ee6730d45a4c5f6ccbce4d6332881f5f15d9b6.tar.bz2
android_packages_apps_Trebuchet-a5ee6730d45a4c5f6ccbce4d6332881f5f15d9b6.zip
Customizeable Dynamic Grid:
- Presets - Comfortable (+0) - Cozy (+1) - Condensed (+2) - Custom option with min, max Reordering items in the settings pane for better organization Modifying Settings Layout for readability Change-Id: I5c926b6ca4b2ed73c263ef34eeb368caeb7af9b5
Diffstat (limited to 'res/layout/custom_grid_size_dialog.xml')
-rw-r--r--res/layout/custom_grid_size_dialog.xml33
1 files changed, 33 insertions, 0 deletions
diff --git a/res/layout/custom_grid_size_dialog.xml b/res/layout/custom_grid_size_dialog.xml
new file mode 100644
index 000000000..d7345ee56
--- /dev/null
+++ b/res/layout/custom_grid_size_dialog.xml
@@ -0,0 +1,33 @@
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" >
+
+ <LinearLayout
+ android:id="@+id/grid_number_pickers"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:orientation="horizontal">
+
+ <NumberPicker
+ android:id="@+id/custom_rows"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginRight="@dimen/dialog_padding"/>
+
+ <NumberPicker
+ android:id="@+id/custom_columns"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/dialog_padding"/>
+
+ </LinearLayout>
+
+ <Button
+ android:id="@+id/dialog_confirm_button"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/dialog_confirm"
+ android:layout_below="@id/grid_number_pickers"
+ android:layout_marginTop="@dimen/dialog_padding"/>
+</RelativeLayout> \ No newline at end of file