How to remove border only from one side of the element?

后端 未结 3 1361
暗喜
暗喜 2021-02-01 22:43

I have:


I\'d like to remove this border from the bottom (for example) of the el

3条回答
  •  梦毁少年i
    2021-02-01 23:37

    It's an xml trick. First you have to fill the layer with a specific color (Line Color). Then you have to fill it with another color (Background Color) while to push the drawing a little bit from the side you want to draw the line. Here is my code:

    
    
            
    
        
            
                
            
        
    
        
    
        
            
                
            
        
    
    

    https://i.stack.imgur.com/ifak8.jpg

    Here how it looks:

提交回复
热议问题