Forum Xamarin.Forms

LayoutOptions.Fill vs LayoutOptions.FillAndExpand

Can someone explain the difference between LayoutOptions.Fill and LayoutOptions.FillAndExpand? In the tests I've done, they seem to do the same thing. Am I missing something?

Best Answer

Answers

  • AndrewBilykAndrewBilyk USMember

    That clears things up. Thanks, Craig!

  • MarkWallisMarkWallis AUMember

    Any documentation on this that clarifies best practice for the most used situations?

  • JasonMichasJasonMichas USMember ✭✭

    For anyone else looking for more explanation on this, here is a link to more detail http://stackoverflow.com/questions/25338533/what-is-the-difference-between-xamarin-forms-layoutoptions-especially-fill-and

  • rio_riyario_riya INMember ✭✭

    fill and expand is works for me only in Xamarin forms iOS only its doesn't works for android , why?
    I need to expand my editor to be fillandexpand .

  • SteveShaw.5557SteveShaw.5557 USMember ✭✭✭

    @rio_riya - FYI, FillAndExpand works well on Android now. (And to anyone who still has problems with this, make sure parent, indeed all ancestors, are either Fill or FillAndExpand.)

Sign In or Register to comment.