How to create a overlay layout upon a listview

后端 未结 2 1875
名媛妹妹
名媛妹妹 2021-02-15 16:41

I have a listview that will be filled with AsyncTask and at the bottom edge of the app I need to show a fixed overlay layout like this:

2条回答
  •  梦毁少年i
    2021-02-15 17:01

    Change the parent layout to RelativeLayout or FrameLayout and position the fixed view at the same level of the ListView (but after the ListView)

    Something like:

    ---> RelativeLayout
        --> ListView
        --> Any view as the fixed view
    

    You can then align the fixed view to the bottom of the wrapping RelativeLayout

    
    
    
       
    
       
    
    

提交回复
热议问题