title: android.view.InflateException: Binary XML file line #6: Error inflating class <unknown>
body: <p>I am new to android.
      I am getting the error as android.view.InflateException: Binary XML file line #6: Error inflating class  . Earlier this activity was running fine. But suddenly getting this error. Cleaned the project so many times. But didn't work.</p>
  
  <p>Xml layout is:</p>
  
  <pre><code>&lt;AbsoluteLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      tools:context=".FragDownloadSites" &gt;
  
      &lt;ExpandableListView
          android:id="@+id/lvDownloadSite"
          android:layout_width="fill_parent"
          android:layout_height="610dp"
          android:layout_x="0dp"
          android:layout_y="70dp" &gt;
      &lt;/ExpandableListView&gt;
  
      &lt;TextView
          android:id="@+id/tvDownloadSiteMessage"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_x="30dp"
          android:layout_y="21dp"
          android:text="Downloaded Sites"
          android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
      &lt;ImageButton
          android:id="@+id/btnDownloadSite"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_x="540dp"
          android:layout_y="10dp"
          android:src="@drawable/refresh" /&gt;
  
  &lt;/AbsoluteLayout&gt;
  </code></pre>
  
  <p>And code is:</p>
  
  <pre><code>package com.example.config;
  
  import android.support.v4.app.Fragment;
  
  
  public class FragDownloadSites extends Fragment implements SiteDataInterface {
      View rootView;
      ExpandableListView expListView;
      TextView tvMsg;
      ProgressDialog progress;
  
      @Override
      public View onCreateView(LayoutInflater inflater, ViewGroup container,
              Bundle savedInstanceState) {
          rootView = inflater.inflate(R.layout.frag_download_sites, container, false);
  
          progress = new ProgressDialog(rootView.getContext());
          progress.setProgressStyle(ProgressDialog.STYLE_SPINNER);
          progress.setCancelable(false);
          progress.setMessage("Loading...");
  
          tvMsg=(TextView)rootView.findViewById(R.id.tvDownloadSiteMessage);
  
          // get the listview
          expListView = (ExpandableListView)rootView.findViewById(R.id.lvDownloadSite);
          DisplaySiteData();
  
          return rootView;
      }
  </code></pre>
  
  <p>Thanks in advance.</p>