How to make layout with rounded corners..?

后端 未结 18 2898
独厮守ぢ
独厮守ぢ 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:24

    Try this...

    1.create drawable xml(custom_layout.xml):

    
    
    
    
    
    
    
    
    
    
    

    2.add your view background

    android:background="@drawable/custom_layout"
    

提交回复
热议问题