Android Design Library - Floating Action Button Padding/Margin Issues

后端 未结 7 2192
梦毁少年i
梦毁少年i 2020-12-02 05:14

I\'m using the new FloatingActionButton from the Google Design Library and I am getting some strange padding/margin problems. This image (with developer layout options on) i

7条回答
  •  醉梦人生
    2020-12-02 06:11

    after a few time searching and test solution i fix my problem with add this line to my xml layout only:

    app:elevation="0dp"
    app:pressedTranslationZ="0dp"
    

    and this is my whole float button layout

    
    

提交回复
热议问题