Bug with anchored FloatingActionButton in support library 24.2.1

前端 未结 5 2410
一整个雨季
一整个雨季 2021-02-19 16:45

I have been having this issue since 24.2.0, but now I\'m using 24.2.1 and the bug is still here, it only works well <= 24.1.1.

I have an anchored FloatingActionButton

5条回答
  •  佛祖请我去吃肉
    2021-02-19 17:38

    As for 5/2/2017 (25.3.1) the bug still hasn't been fixed. After trying all solutions, the only one that worked for me was:

    yourView.post(new Runnable() { 
        @Override 
        public void run() { 
            yourView.requestLayout(); 
        } 
    }); 
    

    Where yourView is the anchored view.

提交回复
热议问题