Android: How to place an animated image inside an EditText that we can show and hide

后端 未结 4 1685
时光说笑
时光说笑 2021-01-06 07:25

I am trying to add an animated spinner inside a EditText view to the right. And programmatically show/hide it.

I have created the animated spinner b

4条回答
  •  灰色年华
    2021-01-06 07:55

    I'd probably use a FrameLayout and do something like this:

    
        
        
    
    

    Notice the "layout_gravity" on the ImageView...

提交回复
热议问题