Android AlertDialog button positioning -
i have requirement create alertdialog
, split vertically 2 zones:
- one of these zones (on right side) should have dialog buttons (ok, cancel , set) @ bottom , layout on top of these buttons.
- left side of dialog should have layout, say, image.
the question is, possible have or alertdialogs have have buttons @ bottom? don't know start. i've tried looking @ alertdialog
class, see suitable.
it looks don't need alertdialog
this, yes can alertdialog
. create view , use alertdialog.builder
without calling setpositivebutton()
, setnegativebutton()
etc..
alertdialog alertdialog = new alertdialog.builder(context) .setview(yourcontentview) .create();
Comments
Post a Comment