I have following Layout which use NestedScrollView as i want Scrolling Technique of Material Design so i have to use NestedScrollview
<android.support.v4.widget.NestedScrollView android:layout_width="match_parent" android:layout_height="match_parent" android:background="@color/app_base_color" app:layout_behavior="@string/appbar_scrolling_view_behavior" android:id="@+id/nested_view_editprofile" android:focusable="true" > <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/app_base_color" android:weightSum="3"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1"> <TextView android:id="@+id/txtvEditProfileUserName" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0.7" android:gravity="center" android:paddingBottom="10dp" android:paddingLeft="3dp" android:paddingTop="10dp" android:textColor="@color/orange" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="0.85" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingBottom="5dp" android:paddingTop="10dp" android:weightSum="2"> <TextView android:id="@+id/txvEditProfileEntertainer" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1.3" android:gravity="right" android:text="0" android:textColor="@color/orange" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0.7" android:paddingLeft="3dp" android:singleLine="true" android:text="Entertainers" android:textColor="@color/cement_grey" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:paddingBottom="10dp" android:paddingTop="5dp" android:weightSum="2"> <TextView android:id="@+id/txvEditProfileSpectator" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="1.3" android:gravity="right" android:text="0" android:textColor="@color/orange" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0.7" android:paddingLeft="3dp" android:singleLine="true" android:text="Spectators" android:textColor="@color/cement_grey" /> </LinearLayout> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1.15" android:gravity="center" android:orientation="vertical"> <ImageButton android:id="@+id/imgbtnEditProfileSpactate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/transparent" android:paddingBottom="5dp" android:paddingTop="10dp" android:src="@drawable/plus" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_weight="0.7" android:gravity="center" android:paddingBottom="10dp" android:paddingLeft="3dp" android:text="SPACTATE" android:textColor="@color/orange" /> </LinearLayout> </LinearLayout> <TextView android:id="@+id/txtvcom" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="@color/app_base_color" android:padding="10dp" android:textColor="@color/cement_grey" /> <TextView android:layout_height="wrap_content" android:layout_width="match_parent" android:text="Personal Information" android:textColor="@color/orange" android:background="@drawable/app_base_background"/> <com.customview.CustomEditext android:id="@+id/edtxEdtPrflName" android:layout_height="wrap_content" android:layout_width="match_parent" android:hint="Name" android:textColor="@color/cement_grey" android:inputType="textImeMultiLine" android:drawableLeft="@drawable/name" android:drawablePadding="10dp" android:background="@drawable/profile_pallets_boxes_background" android:enabled="true" android:focusableInTouchMode="true" /> <com.customview.CustomEditext android:id="@+id/edtxEdtPrflUserName" android:layout_height="wrap_content" android:layout_width="match_parent" android:hint="Username" android:textColor="@color/cement_grey" android:inputType="textImeMultiLine" android:drawableLeft="@drawable/username" android:drawablePadding="10dp" android:background="@drawable/profile_pallets_boxes_background" android:enabled="false" android:focusableInTouchMode="true" /> <com.customview.CustomEditext android:id="@+id/edtxEdtPrflBio" android:layout_height="wrap_content" android:layout_width="match_parent" android:hint="Bio" android:textColor="@color/cement_grey" android:inputType="textImeMultiLine" android:drawableLeft="@drawable/bio" android:drawablePadding="10dp" android:background="@drawable/profile_pallets_boxes_background" android:enabled="true" android:focusableInTouchMode="true" /> <com.customview.CustomEditext android:id="@+id/edtxEdtPrflDOB" android:layout_height="wrap_content" android:layout_width="match_parent" android:hint="Date of Birth" android:textColor="@color/cement_grey" android:inputType="date|textImeMultiLine" android:drawableLeft="@drawable/dob" android:drawablePadding="10dp" android:background="@drawable/profile_pallets_boxes_background" android:focusableInTouchMode="true" android:enabled="true" /> <com.customview.CustomEditext android:id="@+id/edtxEdtPrflGender" android:layout_height="wrap_content" android:layout_width="match_parent" android:hint="Gender" android:textColor="@color/cement_grey" android:inputType="textImeMultiLine" android:editable="false" android:drawableLeft="@drawable/gender" android:drawablePadding="10dp" android:background="@drawable/profile_pallets_boxes_background" android:enabled="false" android:focusableInTouchMode="true" /> <TextView android:layout_height="wrap_content" android:layout_width="match_parent" android:text="Private Information" android:textColor="@color/orange" android:background="@drawable/app_base_background"/> <com.customview.CustomEditext android:id="@+id/edtxEdtPrflEmail" android:layout_height="wrap_content" android:layout_width="match_parent" android:hint="Email" android:textColor="@color/cement_grey" android:inputType="textEmailAddress|textImeMultiLine" android:drawableLeft="@drawable/mail" android:drawablePadding="10dp" android:background="@drawable/profile_pallets_boxes_background" android:enabled="true" android:focusableInTouchMode="true" /> <com.customview.CustomEditext android:id="@+id/edtxEdtPrflPhone" android:layout_height="wrap_content" android:layout_width="match_parent" android:hint="Phone" android:textColor="@color/cement_grey" android:inputType="phone|textImeMultiLine" android:maxLength="10" android:drawableLeft="@drawable/phone" android:drawablePadding="10dp" android:background="@drawable/profile_pallets_boxes_background" android:enabled="false" android:focusableInTouchMode="true" /> </LinearLayout> </android.support.v4.widget.NestedScrollView> I try this solution to make work of NestedScrollView to scroll but it's not good and it's prevent Softkeyboard opening for Editext . public class CustomEditext extends EditText { public CustomEditext(Context _Context){ super(_Context); } public CustomEditext(Context context, AttributeSet attrs){ super(context,attrs); } public CustomEditext(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); } @Override public boolean onTouchEvent(MotionEvent event) { super.onTouchEvent(event); return false; } } Any good Solution to come out this issue would be great. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.