You could enclose the existing view within a ScrollView, which will
automatically add scrolling if the view is vertically larger than the
screen.

Aus.

On Jan 9, 5:52 am, Suicide King <[email protected]> wrote:
> is there anyway to change the size of a alertDialog?
>
> my snippet of code:
>
> LayoutInflater factory = LayoutInflater.from(cabBookingStart.this);
>  final View textEntryView = factory.inflate(R.layout.driver_entry,
> null);
>
> new AlertDialog.Builder(cabBookingStart.this)
>         .setTitle("Enter Infornation")
>         .setView(textEntryView)
>         .setPositiveButton("Submit",new DialogInterface.OnClickListener(){
>         public void onClick(DialogInterface dialog, int whichButton)
>         {
>                 finish();
>         }})
>
> .create()
> .show();
>
> what i have in my view is 2 textView and 2 editText. when the dialog
> is  shown, my last editText will get cut off.
>
> Need to know if it is possible to change the size of the dialog. If
> not, is there any possible work around?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to