DIsable scrolling for listview and enable for whole layout

前端 未结 3 1425
你的背包
你的背包 2021-01-05 13:43

Hi iam currently working on an android application it has two list views inside the main activity.What i want is disable the scrolling of two lists and allow the whole page

3条回答
  •  一生所求
    2021-01-05 14:16

    You shouldn't put scrolling container inside other scrolling container (ScrollView containing listView) Even if you manage to make it work it will create problems.

    Please consider redesign of your layout or e.g. dynamically add layouts to scroll view or get rid of scroll view and use list view with header and/or footer views

提交回复
热议问题