rizwan wrote:
> hi All,
>
> I have created a tab activity and render a button widget over it using
> setcontentview I wanted to setClickListener for that button . i m able
> to setLongClickListener , let me know how can I implement
> View.setClickListener on tabActivity so that I m able to set
> setClickListener on button widget inside tab activity.
You would do it the same way you would do it outside of a TabActivity:
confirmButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View view) {
}
});
(from http://developer.android.com/guide/tutorials/notepad/notepad-ex2.html)
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
_Android Programming Tutorials_ Version 1.0 In Print!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---