How to place button inside of edit text

后端 未结 11 629
我在风中等你
我在风中等你 2020-12-04 10:17

I want to place an image button inside of EditText, but I don\'t have Idea please tell me how to do so as shown in the figure . Thanks

11条回答
  •  有刺的猬
    2020-12-04 10:57

    If You dont want click on that Image, Then you can use drawableRight property for EditText..

    android:drawableRight="@drawable/icon"
    

    If you want click then use below code.

    
    
    
        
    
        
    
    
    

提交回复
热议问题