dialog - android - scroll input - date picker inside scroll view -


i have following layout dialog (i need user's birthday information) :

<?xml version="1.0" encoding="utf-8"?>  <scrollview android:layout_height="fill_parent" android:layout_width="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" >  <linearlayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">   <textview     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:text="where born ?"     android:id="@+id/textview_birthplace"     android:textstyle="bold"     android:textsize="13dp"     android:textcolor="@color/heading_text_color"     android:layout_margin="20dp"/>  <edittext     android:layout_width="fill_parent"     android:layout_height="wrap_content"     android:id="@+id/edittext"     android:layout_marginleft="20dp"     android:layout_marginright="20dp"/>  <textview     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:text="what time born ?"     android:id="@+id/textview_birthtime"     android:textstyle="bold"     android:textsize="13dp"     android:textcolor="@color/heading_text_color"     android:layout_margin="20dp"/>  <timepicker     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:id="@+id/timepicker"     android:layout_marginleft="20dp"/>  <textview     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:text="when born ?"     android:id="@+id/textview_birthdate"     android:textstyle="bold"     android:textsize="13dp"     android:textcolor="@color/heading_text_color"     android:layout_margin="20dp"/>  <datepicker     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:id="@+id/datepicker"     android:layout_marginleft="20dp"     android:layout_marginright="20dp"     android:layout_marginbottom="20dp"/>  </linearlayout>  </scrollview> 

it looks follows :

enter image description here

the problem when user has pick date date picker, scroll input goes enclosing scroll view (i have scroll view linear layout proves long screen size testing on).

how can make sure when user scrolls on date picker entire layout doesn't scroll ?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -