title: no resource found that matches the given name Theme.Sherlock.Dialog
body: <p>Android 2.3.3</p>
  
  <p>I have searched SO for a solution, but I couldn't understand the solutions given. If someone can explain in a simple way on how to get rid of this error, I would be thankful.</p>
  
  <p>I am using ActionBarSherlock in my application. My basic theme, <code>Theme.Sherlock.Light</code>, works fine with all the activities. For one activity, I want my activity to look like a dialog and hence I wanted to use <code>Theme.Sherlock.Dialog</code>. </p>
  
  <p>Here is my manifest file's declaration.</p>
  
  <pre><code>&lt;activity
      android:name="com.xxx.xx.x.Activity"
       android:theme="@style/Theme.Sherlock.Dialog" &gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p>But I get the following error in my XML : <code>error: Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.Sherlock.Dialog').</code>. Why am I getting this? What should I do, to remove this?</p>