Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
// TODO Auto-generated method stub
getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
}
}, 300);
handler.postDelayed(new Runnable() {
@Override
public void run() {
// TODO Auto-generated method stub
getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
}
}, 300);