简体   繁体   中英

how to open slide menu on button click in android xamarin.forms?

I want to create sliding menu in android in xamarin.forms. I know I can do this with help of MasterDetailPage. But I don't want to use MasterDetailPage. I want a button my page and on click of that button slide menu should open.

Is it possible to open slide menu without help of masterdetailpage in xamarin.forms?

You can do that by using eg an AbsoluteLayout as your page Content. Add the slide menu in your layout out of the current view, and on click, animate it into view. It's that simple.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM