Instead of delaying the setContentView() call, can you inflate that
layout and set its visibility to View.GONE temporarily until the
actual content arrives?
j
On Tue, Nov 3, 2009 at 8:52 PM, Lee Laborczfalvi labor...@gmail.com wrote:
I've got a tab host activity started from a home screen
I'll give this a go and let you know how it works.
Thanks for the tip.
Lee
On Wed, Nov 4, 2009 at 8:27 PM, Jeff Sharkey jshar...@android.com wrote:
Instead of delaying the setContentView() call, can you inflate that
layout and set its visibility to View.GONE temporarily until the
actual
Thanks for the tip on this. That fixes my issue.
What I've done is inflate the layout, call setContentView with that
view, add my tabs and set the visibility of the entire view to
View.GONE.
In my onPostExecute I call setContentView(View.VISIBLE) to display the TabHost.
Thanks again,
Lee
On
I've got a tab host activity started from a home screen shortcut.
When my application starts it downloads information from a server
using an AsyncTask. In the onPostExecute method of the AsyncTask I
call setContentView to display the TabHost.
When I start the homescreen shortcut by tapping on the
4 matches
Mail list logo