Android AlertDialog button positioning -


i have requirement create alertdialog, split vertically 2 zones:

  1. one of these zones (on right side) should have dialog buttons (ok, cancel , set) @ bottom , layout on top of these buttons.
  2. 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

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -