Is it possible to have 2 buttons within the same layout that have the same functionality?
<p>I have a long list with search options. I want a button at the top and bottom of the list to 'search'. Both buttons would have the same functionality. I thought it would be possible to just copy and past the first button in the xml layout at the end, but the button at the end has no functionality. How do I get this to work without adding a bunch of extra code in my Activity?</p>

<p>
</p>

<pre><code>&lt;ScrollView 
    android:layout_width= "fill_parent"
    android:layout_height= "fill_parent" &gt;

&lt;LinearLayout
    android:id="@+id/LinearLayout02"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical" &gt;

&lt;Button android:layout_width="fill_parent"
    android:layout_height="wrap_content" android:id="@+id/save_search_options"
    android:text="Search" android:textSize="25dip"&gt;&lt;/Button&gt;

&lt;!--search options in between--&gt;


&lt;Button android:layout_width="fill_parent"
    android:layout_height="wrap_content" android:id="@+id/save_search_options"
    android:text="Search" android:textSize="25dip"&gt;&lt;/Button&gt;

&lt;/LinearLayout&gt;
&lt;/ScrollView&gt;
</code></pre>

<p></p>
