application crashes while putting setContentView in thread class in emulator
- by Maneesh
when I put the setContentView in thread as below, it crashes while running in emulator.
new Thread(){
public void run()
{
setContentView(R.layout.main_layout);
}
}.start();