Android - using runOnUiThread to do UI changes from a thread

后端 未结 5 1226
走了就别回头了
走了就别回头了 2020-12-06 04:18

I am using a custom title view and would like to show/hide a progressbar in the title view when a thread is working.

This is my title view\'s XML

<         


        
5条回答
  •  悲哀的现实
    2020-12-06 05:11

    Is your layout correct? Did you try to get this working with a vertical layout first? Just to see if the progress bar is visible when you start your activity?

提交回复
热议问题