Re: [android-developers] ResourceNotFound occurs sometimes during layout inflation

2010-10-21 Thread TreKing
On Thu, Oct 21, 2010 at 3:43 PM, Doug Gordon wrote: > Anyone know what's happening here? > > I suspect it's something to do with the timing, where this is occurring > before the main activity has even had a chance to display its screen. These > calls are all being made on the main UI thread, but

[android-developers] ResourceNotFound occurs sometimes during layout inflation

2010-10-21 Thread Doug Gordon
My app may launch a sub-activity for a specific purpose. When that activity finishes, I get the results in onActivityResult. These results are then processed in the subsequent onResume. This consists of a setContentView and also starting an AsyncTask that puts up a ProgressDialog. This all wo