best practice to register click listeners to widgets
<p>To register a click listener for a button in android you can </p>

<p>1) instantiate the button and create an in-line event listener</p>

<p>2) implement the click listener interface on the activity and provide the method in the activity</p>

<p>3) Define the click method in the xml layout of the activity and define the method in the activity</p>

<p>i was wondering is there a best approach, i like to implement the interface. Is it  bad to name the method in the xml as then you would need to also include it in any other version of the layout ie landscape</p>
