Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Listener
- TextView comptext = (TextView) findViewById(R.id.comptext);
- comptext.setOnClickListener(new View.OnClickListener() {
- public void onClick(View v){
- AlertDialog.Builder alertbox = new AlertDialog.Builder(getBaseContext());
- alertbox.setTitle("Compcache");
- alertbox.setMessage("Description ....");
- alertbox.setButton("OK", new DialogInterface.OnClickListener() {
- public void onClick(DialogInterface dialog, int which) {
- return;
- }});
- alertbox.show();
- }
- });
- // DEBUG: --> DialogInterface cannot be resolved to a type
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement