How to make layout with rounded corners..?

后端 未结 18 3121
独厮守ぢ
独厮守ぢ 2020-11-22 09:37

How can I make a layout with rounded corners? I want to apply rounded corners to my LinearLayout.

18条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-22 10:23

    If you would like to make your layout rounded, it is best to use the CardView, it provided many features to make the design beautiful.

    
          
    
                
          
    
    

    With this card_view:cardCornerRadius="5dp", you can change the radius.

提交回复
热议问题