I used layout with a listview and used
AlertDialog.Builder.setView(layout);
Then calling setLayout on alertDialog Window , gave me more control on
the layout.
Thankyou.
On Dec 12, 1:50 am, Dianne Hackborn hack...@android.com wrote:
You can't control the size of AlertDialog like that. The
rather than write it as an AlertDialog why not create a full Activity
but just theme is as a Dialog? Then you could control just about
anything.
On Dec 10, 11:20 pm, sat sathvikm...@gmail.com wrote:
Hi,
Can you point me to some examples where AlertDialogs are built using
Dialog class ? I have
You can't control the size of AlertDialog like that. The point of
AlertDialog is an easy way to through up various standard kinds of dialogs
with a standard appearance that you don't control very much. If you want
more control, use Dialog.
On Fri, Dec 10, 2010 at 8:20 PM, sat
Did you set layout after setting content view?
It works for me, but I extend the Dialog.
On 10 Грд, 14:39, sat sathvikm...@gmail.com wrote:
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setTitle(Title);
builder.setItems(items, new
In a similar situation, I stopped using AlertDialog and went directly
to the Dialog class. You can do everything you need to do that way,
but a bit more complex since you don't get some of the shortcuts that
AlertDialog provides.
Doug Gordon
On Dec 10, 7:39 am, sat sathvikm...@gmail.com wrote:
@Viktor - I am calling alert dialog on clicking a button , I am
setting contentView in On create , on click of a button calling the
alertDialog code.
On Dec 10, 10:50 pm, viktor victor.scherb...@gmail.com wrote:
Did you set layout after setting content view?
It works for me, but I extend the
Hi,
Can you point me to some examples where AlertDialogs are built using
Dialog class ? I have seen Custom dialog box code , where I can refer
to XML and set the contentView.
But my requirement is, depending on the array of strings I would like
to show them as a textview inside an AlertDialog ,
7 matches
Mail list logo