How to reset the Toolbar position controlled by the CoordinatorLayout?

后端 未结 8 1779
情话喂你
情话喂你 2020-12-04 16:19

The app I\'m working on consists of a Navigation Drawer which is implemented in an Activity. The activity layout is as follows:



        
8条回答
  •  伪装坚强ぢ
    2020-12-04 17:09

    Replace or Wrap the FrameLayout inside the android.support.design.widget.CoordinatorLayout with a android.support.v4.widget.NestedScrollView and that will do the job automatically without having to any other hacks....so it would look like this:

    
    
        
    
        
    
    
    

提交回复
热议问题