Unable to get exact circle shape when using card view

前端 未结 11 1878
旧时难觅i
旧时难觅i 2020-12-25 10:12

I\'m using card view for floating action button in android material design. I\'m using following code for get the circle



        
11条回答
  •  梦毁少年i
    2020-12-25 11:16

    I have solved the problem. Now android providing design library for material design, which has the FloatingActionButton. No need of customizing card view for floating action button.

    
    

    Add design library in gradle dependencies

    compile 'com.android.support:design:23.1.1'
    

    For more detail refer this link

提交回复
热议问题