title: How to show Progress Bar as TextView loads?
body: <p>I know that I can set the layout for a screen to be a <code>progressBar</code> as long as I inflate the layout after all my content has loaded. Is there any way to set a <code>progressBar</code> to wait until a <code>TextView</code> has loaded? For example, if I need to grab some content from my database and as I grab the content, I'd like to show a <code>progressBar</code> in place of that <code>TextView</code>. I was thinking I could try to wrap every <code>TextView</code> that needs this <code>progressBar</code> in a <code>RelativeLayout</code> and just set the visibility whenever the call from the database is finished. Is there a better way to do this? Any help would be appreciated. Thanks!</p>