[android-developers] Re: getting control value from within a dialog
i seem to be painting myself into a corner with this...
now i have an AlertDialog with my own layout - with an ok and cancel
buttons.
Button bttn = (Button)layout.findViewById(R.id.ok);
bttn.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Log.i( TAG, "ok clicked" );
}
});
the problem now is how do i refer to the dialog to dismiss it inside
the
onClick() method.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home