android.view.WindowLeaked exception
I'm reading xml data from a url. It worked well when it was it portrait mode. But I wanted to change it to landscape mode. But it gets android.view.WindowLeaked exception. Please help me with this. Thanks in advance. This is my code. package com.eisuru.abc; import android.os.AsyncTask; import android.os.Bundle; import android.app.Activity; import android.app.ProgressDialog; import android.content.pm.ActivityInfo; import android.view.Menu; import android.widget.TextView; public class MainActivity extends Activity { TextView tvResponse; @Override protected void onCreate(Bundle savedInstanceState