Is possible add native floatingbutton in Xamarin.Forms? - xaml

I saw two articles that suggest that is possible add native views in a xaml page in Xamarin.Forms. The articles that I saw is https://developer.xamarin.com/guides/xamarin-forms/platform-features/native-views/xaml/#consuming and https://blog.xamarin.com/embedding-native-controls-into-xamarin-forms/
I'd like to add a FloatingActionButton just for my Android App (I'm developing for iOS too) using xaml. Is it possible? How can I do that?

Yes it is possible. There is some FAB implementation in Nuget and git.
Also you can implement it by your self, for this you need to create you FAB renderer in droid project(ios project)

Related

can i make an autocliker app with Xamarin or React Native?

I want to make an autoclicker app that can also take screenshots and recognize the location of a specific image (of course it will run over another app). can i do it with either xamarin or react native? if yes i would really appreciate it if you suggest me some tutorials or code examples.

React-Native Native Controls Support

Usually cross-platform frameworks support a subset of native controls but never all. For example, Xamarin.Forms supports a set of native controls on IOS/Android/UWP but not all.
In order to add a native control to a Xamarin.Forms, we need to convert the native UI control into a compatible Xamarin.Forms control.
How is this in React-Native? Does React-Native support all native controls or only a subset?
React Native has most native UI components ported, but not all. Just like with Xamarin.Forms, in order to make the code cross-platform, some primitives has been renamed: https://facebook.github.io/react-native/docs/components-and-apis.html
If there are custom or third party components which you want available, then you will have to wrap it for each platform. Guides for iOS and Android. This includes creating a ViewManager for each platform which lets you control the native UI view via a bridge to the JavaScript.
In short, it can support all.

Is it possible to embed a React-Native view as a subview in a native android project?

I'm integrating react-native to my pure java android project. I just want some item of my native ListView show a react-native view. I don't want to change the whole ListView to react-native.
Is there any way to do this?
I've tried to add ReactRootView as a subview to some other view, it's blank.
Turns out my Activity went wrong.
RN requires support lib 23.0.1, but the ConstraintLayout is not compatible with support lib 23.0.1.
Just use any other Layout for the root view of the Activity.

Picker with two selection columns with numbers in Xamarin.Forms

I need to make a picker like this in the picture below:
What you see is a TimePicker and I took it just to give you an example. I would like to have one with about 200 numbers on the left and 100 on the right (for example). How can I do it in a Xamarin.Forms PCL project?
The first problem you'll face is that the picker control you see here is a native iOS control. The Xamarin.Forms TimePicker is basically not a physical control in itself but it translates to a native control on each platform. That's why it will look different on Android and UWP devices because they provide their own picker controls, as seen in the picture below.
Now, if you're ok with the controls looking different, you could use custom renderers to modify each native control or even replace them to provide the functionality you need. I thought I'd outline the basic steps for you to get you started:
Create a new Xamarin.Forms control called CustomPicker or something.
Create custom renderers for each platform.
On iOS, you can use the UIPickerView and specify numberOfComponents, numberOfRows and the data source.
On Android, you might want to use a 3rd party control since by default, there are no scrolling picker controls like the one on iOS. WheelPicker looks promising.
On UWP, you might be able to work something out using the PickerFlyoutBase. I have limited knowledge on the platform but you should be able to find something quite easily.
As you can see, it's going to be quite an effort to get the scroll picker working on each platform.
Edit: You could also look into native embedding, which lets you embed native controls into Xamarin.Forms app's pages.
Native Embedding
Embedding native controls into Xamarin.Forms
We've developed a two-column picker for Xamarin.Forms (Android and iOS).
Sample:
https://github.com/HorusSoftwareUY/MaterialDesignControlsPlugin#materialdoublepicker
Screenshots:
Android
iOS
We added this control to MaterialDesignControls NuGet (https://www.nuget.org/packages/Plugin.MaterialDesignControls/), where you can find other interesting controls with the material design look and feel.
Contributions are welcome!

ipad image swiper like iTune's horizontal library

I need to make an ipad app which includes an image swiper but not a regular one. I need it to be like itunes library swiper when the device rotation is horizontal. is there any way to do it with objective c or should i do it with html and javascript?
thanks.
I have some experience in using iCarousel by Nick Lockwood. It is very easy to use with several build in effects and also not so hard to modify.
Do you mean coverflow?
You could use this library on CocoaControls called TapKu
There are also a few others here
You can check this HTML+JavaScript implementation http://idangero.us/sliders/swiper/plugins/3dflow.php