android progressbar inside edittext

后端 未结 4 1315
清酒与你
清酒与你 2020-12-30 03:31

I want to display progressbar(spinner) to the right of editText when activity is doing some processing and hide upon completion, is there a simple way to do this?

4条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-30 03:47

    Use FrameLayout to achieve this in the best way. FrameLayout help us to add ProgressBar inside EditText. Check this :

    
    
            
    
            
    
    

    Result :

提交回复
热议问题