Android

Display AlertDialog with Multiple Options

Posted on

AlertDialog with Multiple Options Hi Guys, At times you may require to show multiple options in a dialog on Acitivty. So user can select any one option. here is the simple code to display with AlertDialog with Multiple Options CharSequence options[] = new CharSequence[] {“Call”, “SMS”, “Email”}; AlertDialog.Builder builder = new AlertDialog.Builder(this); builder.setCancelable(false); builder.setTitle(“Select your option:”); […]