Style bottom Line in Android

后端 未结 14 2570
独厮守ぢ
独厮守ぢ 2020-11-28 17:53

I need to create an android shape so that only the bottom has stroke (a dashed line). When I try the following, the stroke bisects the shape right through the center. Does a

14条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 18:47

    I think you do not need to use shape if I understood you.

    If you are looking as shown in following image then use following layout.

    enter image description here

    
    
    
    
        
     
    
     
    

    EDIT

    play with these properties you will get result

        android:top="dimension"
        android:right="dimension"
        android:bottom="dimension"
        android:left="dimension"
    

    try like this

    
    
    
    
        
            
        
    
    
    
        
            
    
            
        
    
    
    
    

提交回复
热议问题