1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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 { } } }