<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:orientation="vertical">

    <ScrollView
        android:layout_width="match_parent"
        android:scrollbars="none"
        android:layout_height="wrap_content">

    <LinearLayout
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

    <DatePicker
        android:id="@+id/dp_date"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:calendarViewShown="false">

    </DatePicker>


    <TimePicker
        android:visibility="gone"
        android:layout_gravity="center"
        android:id="@+id/tp_date"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">


    </TimePicker>

    </LinearLayout>
    </ScrollView>
</LinearLayout>