Is it possible to find button by view, and not findViewById?
<p>I'm wondering if it is possible to find the button in the way I want. Because I need to make a temporary button from the button that has been clicked.</p>

<p>This code gives an error:</p>

<pre><code>public void onClick(View view) {

    Button button = (Button) findViewById(R.id.view);
}


view cannot be resolved or is not a field
</code></pre>

<p>That is obviously, because I'm using the findViewById() method, and therefore the program is expecting an Id, not a View. Is there maybe an other method to find the right button?</p>
