CoordinatorLayout + TabView + AnimateView(From Top)

后端 未结 1 1309
执念已碎
执念已碎 2021-02-04 09:37

Yesterday I am playing with CoordinatorLayout with TabView

1) What is my target ?

  • Coordinator
相关标签:
1条回答
  • 2021-02-04 10:17

    It's tricky little bit..

    just try to setMinimumHeight of your CollapsingToolbarLayout like this way and do let me know.

    CollapsingToolbarLayout layoutCollapsing = (CollapsingToolbarLayout) rootView.findViewById(R.id.layoutCollapsing);
    layoutCollapsing.setMinimumHeight(120); 
    

    here calculate your minimum height as per your need and set it in place of setMinimumHeight(120) value.

    0 讨论(0)
提交回复
热议问题