Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Panel with attachments

InfernnoInfernno USMember ✭✭
edited February 2019 in Xamarin.Forms

Hello everyone,
I need to make a panel where the user could select attachments using Xamarin.Forms, like the way it is done in Telegram , so it would work on both iOS and Android.
At the top of this panel there is a list of previews of photos and videos. Below you can see buttons that allow you to select all other things.
Here are my questions:
1) Can it be implemented purely in Xamarin.Forms?
2) How can this be implemented better in terms of performance? Would it require custom renderers?
3) Any other hints or clues?
How it looks like: us.v-cdn.net/5019960/uploads/editor/aa/97beyabwilzt.png
P.S. Sorry, not allowed to post links.

Answers

  • YelinzhYelinzh Member, Xamarin Team Xamurai

    You can add a button to achieve the feature. When the button is clicked ,the screen will Popup a page where you can use Grid to display previews of photos and videos.

  • InfernnoInfernno USMember ✭✭

    Well, this seems like a good starting point, but it turned out that popup completely hides the parent page, while I need to move (shift) it up like on the screenshot. Any ideas?

  • YelinzhYelinzh Member, Xamarin Team Xamurai

    Do you want to move the list of photos and videos ? You can use Gallery in Grid to achieve this feature.
    Refer to https://docs.microsoft.com/en-us/xamarin/android/user-interface/controls/gallery

Sign In or Register to comment.