Horizontal selector for Xamarin Forms - c#

I am trying to implement a Horizontal selector for selecting notes for my notes app as indicated in the attached image on Xamarin Forms and don't know the way.
Please help!
I tried to do it using list view or layouts but its not working.enter image description here

Related

When I set the direction of xamarin forms flyout page to RTL, a gap appears between the side menu and the mobile screen, how can I remove it?

enter image description here
I want to remove this gap shown in the image below, I want it as if it was on the left side without a gap.
Updating the Xamarin.Forms nuget to 5.0.0.2515 in both shared and Android projects has resolved the issue.
I too faced the issue when trying to set flyout page flow direction to RTL in Tab, where it worked fine in mobile device.
I guess the issue has been fixed in the Xamarin.Forms - 5.0.0.2515

Xamarin Forms - iOS - change splash screen depending on screen orientation

I have a problem with adjusting splashscreen in Xamarin Forms iOS project.
I'd like to change splashscreen static image depending on screen orientation.
In Android I simply, created drawable-land folder, put there image for landscape orientation and it's working.
In iOS project there is whole designer for purpose of creating launchscreens, but I can't find anything that will do the job. When I adjust image for Iphone, change orientation in designer I can't simply put there different image because it's shared across all screens in designer.
One important remark - I found some sources on how to achive that, but for native XCode designer, I need an answer for Visual Studio or VS for Mac.
Thanks in advance
Here whatever you apply, will be applied to landscape and portrait universally.
You can have different images, one for portrait 'splash_portrait.png' and one for landscape 'splash_landscape.png' in Assets.
You can then choose which image to display for landscape and which for portrait using Edit Traits button on the bottom right corner in your screenshot.
Landscape uses Any or Compact Height size class, so you would be selecting Compact Height checkbox and whichever change you apply, will be applied for this size class (landscape).
Please get more details on this, here & here
Practically, I haven't tried as while giving answer, I am away from computer. But I hope this will help.
https://www.youtube.com/watch?time_continue=1&v=y3lspdPxc6o,
Refer this tutorial video by Kym Phillpotts - Xamarin University Lightning Lecture.
On the widget properties, you have an option for the full-size splash.

How to scroll to a specific position into Xamarin Forms WebView?

I'm using Xamarin Forms for displaying a huge html document. I want to open my page from the position which is stored in a database. Are there any ways? Thanks.
Maybe this will work:
MyWebView.Eval("window.scrollTo(0, 0)");
If not I would suggest using a Custom Renderer or
https://github.com/XLabs/Xamarin-Forms-Labs/wiki/HybridWebView
Hope this helps.

Xamarin iOS auto resize view

I'm getting started with Xamarin using Visual Studio 2013 trying to build an iOS app. I have added a launch screen as an XIB file and the default one they give you (as per the tutorials) just has a few labels and when run on the simulator appears fine.
In the designer when I double click on the XIB, the app view to add components to is square, rather than rectangular and vertical as I would expect for an iPhone display. But the default XIB seems to work.
However I have added a UIView and an image to this, told it to fill the width and height, added two labels in the middle and run it. The displayed image is square and goes off the screen of the simulator, as do the labels. It is not automatically resizing to fill the displayed screen as I would hope.
Basically what I want to know is how to start building basic views with resizable components that will work on any device you use. Can anyone please link me to a tutorial for this using Visual Studio Xamarin for iOS as I don't know what to search for.
What it looks like in designer
How it comes out in simulator

How implement a (swipeable) card in windows phone?

I want to implement a swipeable card (left and right swipe) in a Windows Phone app. Is there any built in control for making a card and moving it?
If there is no built in control for it then what is the best approach to build a card like below and animate the movement of it?
Note: I am not asking help about detecting and processing of the swipe gesture.
figure showing the card
How about trying Carousel control though its available for Windows 10 for windows phone 8.1 you can refrence these two tutorials
Tutorial 1
Tutorial 2
Carousel control is one good example of what you want to achieve.
Also , I think you can do such a thing by changing some Pivot & PivotItem styles.It could be more customized than Carousel control but you need to take more effort on that.

Categories