Codes used :
final AlertDialog dialog1 = new AlertDialog.Builder(MainActivity.this).create();
View inflate = getLayoutInflater().inflate(R.layout.custom,null); dialog1.setView(inflate);
dialog1.setCancelable(false);
final Button but1 = (Button)
inflate.findViewById(R.id.button1);
dialog1.requestWindowFeature(Window.FEATURE_NO_TITLE); dialog1.getWindow().setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(Color.TRANSPARENT));
but1.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
SketchwareUtil.showMessage(getApplicationContext(), "clicked");
}
});
dialog1.show();
•Join our telegram group and ask us any questions for help ;
https://t.me/joinchat/UO8eyBnATDqLRnN...
•Check out the sketchware playlist with all sketchware tutorials,
• sketchware and sketchware pro
•Visit our sketchware tutorials blog
https://sketchwarefultutorials.blogsp...
#sketchware #sketchwaretutorials #sketchware_pro #Sketchware_Pro #DuoEdgestudios
•Check out our apps on playstore,
Tic Tac Toe ultra Fun
https://play.google.com/store/apps/de...
Multimedia Forest Vitality
https://play.google.com/store/apps/de...
Our Apps are totally free and feature entertainment in fun gameplays and amazing tools for editing all types of media.