I'd suggest you work out the location (based on the screen height),
and then add a toolbar (with buttons or a segmented control) or even
just a normal UIView into whatever the parent view of the
DialogViewController is. IE, whatever you added the DVC into, add this
one in there, too.

If you add it after - or call BringSubviewToFront (or similar) then
it'll be on top of the dialog view controller. You could also make the
DVC a little smaller (not sure you can do this by default tho) so the
bottom element isn't obscured....

You could also do it like this:

Window
  -UIView (takes up the whole screen)
    -UIView (height is total height - size of toolbar, just to
constrain the size of the DVC)
      -DialogViewController
    -ToolBar
     -Buttons or SegmentView



On 29 January 2013 08:41, Iki <[email protected]> wrote:
> Hi guys, i need some help.
>
> I currently using MonoTouch.Dialog, to be more specific DialogViewController. 
> Inside DialogViewController I have only one section with elements. I would 
> like to have three buttons
> docked to the same position (bottom of the screen) , so that the table can 
> scroll behind them (something like UISegmentedView on the Maps app).
>
> The problem is if I add them as subview, they will be on the scroll view, and 
> after each new row is added, they would get pushed away of the screen. For 
> now the only solution that I came up with is to first create ViewController, 
> and then inside ViewDidLoad create DialogViewController with Root and 
> Elements, and then add this as a subview to ViewController.
>
>
> Do You have any better idea how to resolve this?
>
>
> Thanks for your help, as always!
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken
b. http://www.fastchicken.co.nz/
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to