What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-11 20:15:21
input edittext in android dialog
final View view = layoutInflater.inflate(R.layout.xml_file_created_above, null); AlertDialog alertDialog = new AlertDialog.Builder(ct).create(); alertDialog.setTitle("Your Title Here"); alertDialog.setIcon("Icon id here"); alertDialog.... Add solution -
C# 2022-02-19 13:25:03
xamarin native display alert android
TaskCompletionSource<bool> taskCompletionSource; taskCompletionSource = new TaskCompletionSource<bool>(); Android.App.AlertDialog.Builder dialog = new AlertDialog.Builder(MainActivity.Instance); AlertDialog alert = dialog.Create(); alert.SetT... Add solution -
Java 2022-02-19 05:40:02
alert dialoge disappears in android after next page call
public void OnClickNearMe(View view) { LocationManager locManager = (LocationManager) getSystemService(LOCATION_SERVICE); if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)){ createGpsDisabledAlert(); } else { ... Add solution -
Other 2021-10-21 23:12:07
input dialoge validation in android
AlertDialog.Builder builder = new AlertDialog.Builder(YourActivity.this); builder.setCancelable(false) .setMessage("Please Enter data") .setView(edtLayout) //<-- layout containing EditText .setPositiveButton("Enter", new DialogInter... Add solution -
Other 2021-09-17 19:02:02
android alert builder code
AlertDialog alertDialog = new AlertDialog.Builder(getApplicationContext()) .setIcon(android.R.drawable.ic_dialog_alert) .setTitle("Goodbye!") .setMessage("Are you sure you want to exit?") .setPositiveButton("Yes"... Add solution -
Java 2021-09-06 10:56:04
show full screen popup in android
Rect displayRectangle = new Rect(); Window window = MainActivity.this.getWindow(); window.getDecorView().getWindowVisibleDisplayFrame(displayRectangle); final AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this,R.style.CustomAlertDialo... Add solution -
Other 2021-09-03 05:42:02
how to change color of radi button selected in alerdialog
AlertDialog.Builder alertDialogBuilder = new AlertDialog.Builder( getActivity(), R.style.MaterialThemeDialog); alertDialogBuilder.setTitle(R.string.image_resolution); alertDialogBuilder.setSingleChoiceItems(R.array.qual... Add solution
Best helpers
Ranking is empty