Android Studio : How to Add An Alert Dialog Box / Pop-Up Notification

Android Studio : How to Add An Alert Dialog Box / Pop-Up Notification

Adobe in a Minute

7 лет назад

29,416 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@SantiagoToso
@SantiagoToso - 19.05.2020 18:59

Hi, good video!
I need a Pop-up notification for user check if a new version of the app is available.
Can you tell me hou? Thks

Ответить
@julianzuloaga
@julianzuloaga - 10.03.2020 05:13

Thanks!

Ответить
@muhamadirwan99
@muhamadirwan99 - 29.12.2019 06:16

thx u

Ответить
@TheBlueLightningX
@TheBlueLightningX - 08.05.2019 22:23

Great video. Thanks ^^

Ответить
@rukhsoranazarova5298
@rukhsoranazarova5298 - 12.03.2019 13:04

Thanks!!!

Ответить
@HunterYavitz
@HunterYavitz - 28.08.2018 16:18

everything about this video is great. short, descriptive, and to the point. need more android videos like this.

Ответить
@Mat-S86
@Mat-S86 - 03.07.2018 19:13

Thanks mate, needed something like this for my weather app.

Ответить
@OHOHOHCOME
@OHOHOHCOME - 25.05.2018 23:57

Thanks man. Solved my problem in a jiffy.

Ответить
@ashb9254
@ashb9254 - 24.12.2017 19:28

Cant see even on desktop

Ответить
@grunkles
@grunkles - 20.08.2017 21:59

Thank you. This was a very good and well made tutorial. Thank you for your help!

Ответить
@AzimuthPH
@AzimuthPH - 27.06.2017 21:34

hi, how do i resize the alert dialog? this is my code:
public AlertDialog.Builder buildDialog(Context c) {

AlertDialog.Builder builder = new AlertDialog.Builder(c);
builder.setTitle("No Internet Connection");
builder.setMessage("You need to have Mobile Data or wifi to access this. Press ok to Exit");
builder.setPositiveButton("Ok", new DialogInterface.OnClickListener() {

@Override
public void onClick(DialogInterface dialog, int which) {

finish();
}
});

return builder;
}

Ответить