Sketchware Pro | SketchLearn
6.45K subscribers
664 photos
45 videos
446 files
300 links
#Sketchware #Pro #Java #Android #SWB
It is the best channel to learn Sketchware Pro

Owner -> @Rakhmonov_Bobur | ONLINE 🟢
Download Telegram
#Code #Java #CutoutMode
Cutout Mode
Window w = this.getWindow();
WindowManager.LayoutParams attributes = w.getAttributes();
if (attributes.layoutInDisplayCutoutMode != WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES) {
attributes.layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
}
if ((w.getDecorView().getSystemUiVisibility() & View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN) == 0) {
w.getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
}
👍4🥰3
#java #code
Custom Toast
final Toast toast = new Toast(getApplicationContext()); toast.setDuration(Toast.LENGTH_LONG);
toast.setView(R.layout.TypeYourLayout);
toast.show();


TypeYourLayout = Create and add your custom view

#code by ninja coder
😁1😱1🎉1
#java #code #dialog

AlertDialog alertDialog = new AlertDialog.Builder(this,
android.R.style.Theme_DeviceDefault_Light_NoActionBar_Fullscreen).create();
alertDialog.setTitle("this Full Screen AlertDialog");
alertDialog.setMessage("This is Full Screen");
alertDialog.setButton(AlertDialog.BUTTON_NEUTRAL, "OK", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
dialog.dismiss();
}
});
alertDialog.show();
#Full screen dialog
🥰5😁2🔥1🎉1
Forwarded from Android Developers
Java2Smali.swb
15.6 MB
3👍2