summaryrefslogtreecommitdiffstats
path: root/res/layout/custom_grid_size_dialog.xml
blob: d7345ee56c7181ccb7c7371c7eb71b835556163f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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>