I have an activity defined like this
<activity android:name=".queue.ItemDetailActivity"
android:theme="@android:style/Theme.Dialog"></activity>
This activity implements runnable and shows a progress bar while data is retrieved from the server. I would like to have the dialog invisible until the data is loaded. Is there a way for the activity to start invisible and then later use setVisible(true);
to make it appear?