Is it possible to change the size of icon inside EditText

后端 未结 3 1842
南旧
南旧 2021-02-20 09:56

I am creating a login window with username and password fields and in each I would like to put icons. When I add icon to EditText field I cannot change the size of icon.

3条回答
  •  攒了一身酷
    2021-02-20 10:36

    A better way than setting by java would be by setting It inside a layered drawable as follows.

    Layered list drawable is as under :
    
        
    
        
            
                
                
                
                
            
        
        
            
        
    [enter image description here][1]
    

提交回复
热议问题