title: Daydream settings
body: <p>I'm trying to create a settings for my <code>Daydream</code> and according to the documentation, I need to create a xml file, like this:</p>
  
  <pre><code> &lt;dream xmlns:android="http://schemas.android.com/apk/res/android"
   android:settingsActivity="com.example.app/.MyDreamSettingsActivity" /&gt;
  </code></pre>
  
  <p>However, my <code>Activity</code> is in a library project (called com.project.base) and I keep getting this error in <code>Logcat</code> when clicking on the setting button:</p>
  
  <pre><code> 11-16 23:01:29.331: E/AndroidRuntime(28908): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.project.base/com.project.base.SettingsDayDream}; have you declared this activity in your AndroidManifest.xml?
  </code></pre>
  
  <p>I have my xml file setup like this:</p>
  
  <pre><code> &lt;dream xmlns:android="http://schemas.android.com/apk/res/android"
   android:settingsActivity="com.project.base/.SettingsDayDream" /&gt;
  </code></pre>
  
  <p>but I've tried all variation, such as <code>com.project.base/com.project.base.SettingsDayDream</code>
  and just <code>com.project.base.SettingsDayDream</code>, but nothing seems to work.</p>
  
  <p>I've declared the activity in the <code>AndroidManifest.xml</code> like this:</p>
  
  <pre><code>    &lt;activity android:name="com.project.base.SettingsDayDream" android:configChanges="keyboardHidden|orientation" /&gt;
  </code></pre>
  
  <p>as well as the service:</p>
  
  <pre><code>&lt;service android:name="com.project.base.DayDream" android:exported="true" android:icon="@drawable/icon" android:label="@string/app_name"&gt;
      &lt;intent-filter&gt;
      &lt;action android:name="android.service.dreams.DreamService" /&gt;
          &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;/intent-filter&gt;
      &lt;meta-data android:name="android.service.dream" android:resource="@xml/daydream" /&gt;
  &lt;/service&gt;
  </code></pre>