Created
July 19, 2011 02:05
-
-
Save flagoworld/1091162 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void doSearchButton(View v) | |
{ | |
Dialog alert = new Dialog(SearchTabActivity.this); | |
alert.setContentView(R.layout.search_filter); | |
alert.setTitle("Filter Search Options"); | |
alert.setCancelable(true); | |
Button butt=(Button)alert.findViewById(R.id.continueButton); | |
butt.setOnClickListener(new OnClickListener() | |
{ | |
@Override | |
public void onClick(View v) | |
{ | |
alert.cancel(); //how do i make "alert" accessible in this scope? | |
} | |
}); | |
alert.show(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment