how to set colored border on cardview

后端 未结 6 1499
春和景丽
春和景丽 2020-12-05 05:16

I am implementing card view but I can\'t find any border option to set a border on it.

here is my card.xml:



        
6条回答
  •  囚心锁ツ
    2020-12-05 05:40

    Create drawable selector.xml

    
    
        
        
        
        
          
    

    then give set this as a background, change color according your choice

提交回复
热议问题