android - Can't scroll ListView in landscape mode -


i can scroll listview without problem in portrait mode, in landscape mode doesn't scroll @ all.

my listview inside linearlayout (vertical). have 10 items in listview. can scroll of them in portrait mode. in landscape mode see 6 items, , scroll doesn't work. solution this? xml

<linearlayout     android:layout_width="0dp"     android:layout_height="480dp"     android:layout_weight="0.07"     android:orientation="vertical"     app:layout_constrainthorizontal_bias="0.0"     app:layout_constraintleft_toleftof="parent"     app:layout_constraintright_torightof="parent"     app:layout_constrainttop_tobottomof="@+id/linearlayout">      <listview         android:id="@+id/lstview"         android:layout_width="match_parent"         android:layout_height="match_parent"         android:layout_weight="1"         android:fastscrollalwaysvisible="false"         android:isscrollcontainer="true"         android:keepscreenon="false"         android:nestedscrollingenabled="true"         android:overscrollmode="ifcontentscrolls"         android:scrollindicators="end"         android:scrollbars="horizontal|vertical"         android:scrollingcache="false"         android:smoothscrollbar="true"         android:transcriptmode="alwaysscroll"         android:verticalscrollbarposition="defaultposition" />  </linearlayout> 

thanks


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -