Create a Horizontal dotted line in android layout

后端 未结 2 1044
夕颜
夕颜 2020-12-28 11:32

in my layout I am trying to draw a DOTTED LINE.for drawing a horizontal line i am defining a view in my layout file.

     

        
2条回答
  •  天涯浪人
    2020-12-28 12:30

    You can use following code . it may help you. Create a dotted.xml in drawable folder like this...

    
    
           
    
    
    

    then use this xml in your layout with image view like this....

    
    
    
        
        
        
    
    

提交回复
热议问题