Android shape border with gradient

前端 未结 5 811
小蘑菇
小蘑菇 2020-12-01 07:48

I want to create a border for a linearLayout. So I decide to create a shape. I want the border to have a gradient. The following is not doing it. It fills the rectangle and

5条回答
  •  悲&欢浪女
    2020-12-01 08:03

    since the accepted answer didn't work exactly as i wanted it to work for me, i'll post my solution too, maybe it helps someone else :)

    
    
    
    
        
            
    
        
    
    
    
        
            
            
        
    
    
    
    

提交回复
热议问题