Android Studio Tabhost in scrollview always at top -


i have tabhost in android studio inside scroll view. tabhost lies underneath text. here image of xml file however, whenever open app on device, scroll view has tabhost set @ top have scroll see text above it. why , there fix?

thanks in advance.

the tabhost first view can request focus. work-around have focusable view @ top of linearlayout within scrollview.

i used following view purpose

    <view android:focusableintouchmode="true" android:layout_width="0px" android:layout_height="0px"/> 

note: heavily inspired tabhost inside scrollview forces it scroll bottom , stop edittext gaining focus @ activity startup.


Comments