summaryrefslogtreecommitdiffstats
path: root/examples/qmlandroid/catalog/qml/PickerView.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qmlandroid/catalog/qml/PickerView.qml')
-rw-r--r--examples/qmlandroid/catalog/qml/PickerView.qml19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/qmlandroid/catalog/qml/PickerView.qml b/examples/qmlandroid/catalog/qml/PickerView.qml
new file mode 100644
index 0000000..a274cbf
--- /dev/null
+++ b/examples/qmlandroid/catalog/qml/PickerView.qml
@@ -0,0 +1,19 @@
+import android.view 0.21
+import android.widget 0.21
+
+TabHost {
+ LinearLayout {
+ orientation: LinearLayout.VERTICAL
+ FrameLayout {
+ LinearLayout.weight: 1
+ LinearLayout.height: Layout.WRAP_CONTENT
+ DatePicker {
+ TabSpec.label: "DatePicker"
+ }
+ TimePicker {
+ TabSpec.label: "TimePicker"
+ }
+ }
+ TabWidget { }
+ }
+}