tdf#154546 skip dispatch when presenter controller is not set
[LibreOffice.git] / android / source / res / layout / number_picker.xml
blob32eea0e80a843f36f424f0a30f6a23a0c89a16e8
1 <?xml version="1.0" encoding="utf-8"?>
2 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:app="http://schemas.android.com/apk/res-auto"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     android:padding="15dp"
7     android:id="@+id/numberpickerLayout">
9     <TextView
10         android:id="@+id/textView11"
11         android:layout_width="wrap_content"
12         android:layout_height="30dp"
13         android:layout_marginStart="8dp"
14         android:layout_marginLeft="8dp"
15         android:layout_marginTop="8dp"
16         android:text="Rows:"
17         android:gravity="center"
18         android:textSize="18sp"
19         app:layout_constraintStart_toStartOf="parent"
20         app:layout_constraintTop_toTopOf="parent" />
22     <TextView
23         android:id="@+id/number_picker_rows_positive"
24         android:layout_width="30dp"
25         android:layout_height="30dp"
26         android:layout_marginEnd="8dp"
27         android:layout_marginRight="8dp"
28         android:layout_marginTop="8dp"
29         android:background="@drawable/image_button_background"
30         android:clickable="true"
31         android:gravity="center"
32         android:text="+"
33         android:textSize="18sp"
34         android:textStyle="bold"
35         app:layout_constraintEnd_toEndOf="@+id/numberpickerLayout"
36         app:layout_constraintTop_toTopOf="@+id/numberpickerLayout" />
38     <TextView
39         android:id="@+id/number_picker_row_count"
40         android:layout_width="30dp"
41         android:layout_height="30dp"
42         android:layout_marginEnd="8dp"
43         android:layout_marginStart="8dp"
44         android:layout_marginTop="8dp"
45         android:text="3"
46         android:gravity="center"
47         android:textSize="18sp"
48         android:textStyle="bold"
49         app:layout_constraintEnd_toStartOf="@+id/number_picker_rows_positive"
50         app:layout_constraintStart_toEndOf="@+id/number_picker_rows_negative"
51         app:layout_constraintTop_toTopOf="@+id/numberpickerLayout" />
53     <TextView
54         android:id="@+id/number_picker_rows_negative"
55         android:layout_width="30dp"
56         android:layout_height="30dp"
57         android:layout_marginEnd="8dp"
58         android:layout_marginStart="8dp"
59         android:layout_marginTop="8dp"
60         android:text="-"
61         android:gravity="center"
62         android:textSize="18sp"
63         android:textStyle="bold"
64         android:clickable="true"
65         android:background="@drawable/image_button_background"
66         app:layout_constraintEnd_toEndOf="@+id/numberpickerLayout"
67         app:layout_constraintStart_toStartOf="@+id/numberpickerLayout"
68         app:layout_constraintTop_toTopOf="@+id/numberpickerLayout" />
70     <TextView
71         android:id="@+id/textView12"
72         android:layout_width="wrap_content"
73         android:layout_height="30dp"
74         android:layout_marginStart="8dp"
75         android:layout_marginLeft="8dp"
76         android:layout_marginTop="24dp"
77         android:text="Columns:"
78         android:gravity="center"
79         android:textSize="18sp"
80         app:layout_constraintStart_toStartOf="@+id/numberpickerLayout"
81         app:layout_constraintTop_toBottomOf="@+id/textView11" />
83     <TextView
84         android:id="@+id/number_picker_cols_negative"
85         android:layout_width="30dp"
86         android:layout_height="30dp"
87         android:layout_marginEnd="8dp"
88         android:layout_marginStart="8dp"
89         android:layout_marginTop="24dp"
90         android:text="-"
91         android:gravity="center"
92         android:textSize="18sp"
93         android:textStyle="bold"
94         android:background="@drawable/image_button_background"
95         android:clickable="true"
96         app:layout_constraintEnd_toEndOf="@+id/numberpickerLayout"
97         app:layout_constraintStart_toStartOf="@+id/numberpickerLayout"
98         app:layout_constraintTop_toBottomOf="@+id/number_picker_rows_negative" />
100     <TextView
101         android:id="@+id/number_picker_col_count"
102         android:layout_width="30dp"
103         android:layout_height="30dp"
104         android:layout_marginEnd="8dp"
105         android:layout_marginStart="8dp"
106         android:layout_marginTop="24dp"
107         android:gravity="center"
108         android:text="3"
109         android:textSize="18sp"
110         android:textStyle="bold"
111         app:layout_constraintEnd_toStartOf="@+id/number_picker_cols_positive"
112         app:layout_constraintStart_toEndOf="@+id/number_picker_cols_negative"
113         app:layout_constraintTop_toBottomOf="@+id/number_picker_row_count" />
115     <TextView
116         android:id="@+id/number_picker_cols_positive"
117         android:layout_width="30dp"
118         android:layout_height="30dp"
119         android:layout_marginEnd="8dp"
120         android:layout_marginRight="8dp"
121         android:layout_marginTop="24dp"
122         android:text="+"
123         android:gravity="center"
124         android:textSize="18sp"
125         android:textStyle="bold"
126         android:clickable="true"
127         android:background="@drawable/image_button_background"
128         app:layout_constraintEnd_toEndOf="@+id/numberpickerLayout"
129         app:layout_constraintTop_toBottomOf="@+id/number_picker_rows_positive" />
130 </androidx.constraintlayout.widget.ConstraintLayout>