Is it possible to initialize a View from different Layout?
<p>I have an <code>Activity</code> and associated with it <code>layout</code>. Also I have another <code>layout</code> with some <code>Views</code>. I want to initialize a variable (<code>TextView</code>) from my <code>Activity</code> using a <code>View</code> from that standalone <code>layout</code>. I always get <code>null</code>. </p>

<pre><code>public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        button = (Button) findViewById(R.id.button); // This is OK 
// because R.id.button is from R.layout.main layout

        tvOne = (TextView) findViewById(R.id.first_item); // This is not OK
// because R.id.first_item is from another layout.
}
</code></pre>
