title: findViewById returns null when moved files to Android library
body: <p>In my <code>Intellij</code> IDE I have 2 Android modules: A, which is a library (used as a <code>jar</code>), and B, a normal android module that has dependency on A.</p>
  
  <p>In project A i have <code>SomeActivity.java</code>, some_<code>layout.xml</code> (and a <code>VideoView</code> with <code>id</code>: some_view in it).
  When earlier i had these modules merged into one, there was no problem with following logic:</p>
  
  <pre><code>public class SomeActivity extends RoboActivity
  {
      VideoView view;
      protected void onCreate(Bundle savedInstanceState) 
      {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.some_layout);
          view = (VideoView) findViewById(R.id.some_view);
      }
      ...
  }
  </code></pre>
  
  <p>but now <code>findViewById</code> returns null.</p>
  
  <p>Note that project B does not override <code>some_layout.xml</code></p>
  
  <p>I use <code>guice3</code> with <code>roboguice 2.0</code> and injecting the views ends with <code>NullPointerException</code>.
  The situation was the same with <code>guice2</code> and <code>roboguice 1.1.2</code>
  Injecting by tag does the same thing.</p>
  
  <p>Why does <code>findViewById</code> return <code>null</code> when i moved the files to external library module?</p>