Android Activity or iOS ViewController inside of Xamarin Forms ContentPage - xamarin

I have a Xamarin Forms ContentPage with StackLayout. I also have a Native Android Activity, and a Native iOS ViewController. I want to display the Android Activity or iOS ViewController inside of my StackLayout (below my other content) depending on the OS. Is this possible, if yes how can i do it?

At this time Xamarin.Forms only allows you to insert Native Views (UIView, and Android.Widget.View), take a look at those examples of add native controls to Xamarin Forms:
iOS
Android

Related

Create bottom toolbar using xamarin form for android and iOS

There are good numbers of post of this but not of them are simple one. One of them is below one which is look simple https://developer.xamarin.com/recipes/ios/content_controls/navigation_controller/add_a_nav_bar_bottom_toolbar/
I am new to xamarin and currently using xamarin form to develope an cross plate form app. It looks above example is using xamarin native not xamarin form? Can same example will work for xamarin form? Or for this kind of UI manipulation xamarin native is better than xamarin form. As i am new to xamarin, should i focus on xamarin native instead of xamarin form for serious app development.
Thanks,
#paul
Please click here for Bottom Navigation Bar for Xamarin Forms.
This will look like below:
You could build it on your own with a ControlTemplate.
No CustomRenderer is needed.
https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/templates/control-templates/creating/

Is there any teritory chart control available on xamarin forms / xamarin android

We are trying to present territory map view with different controls in android and iOS platform using xamarin.forms or Xamarin Native. Is there any map control avaialble to present territory map view in xamarin forms?
It looks like Syncfusion has something similar to what you want in their Maps

NavigationPage Title to the Centre in Android (Like iOS) - Xamarin Forms

While developing Cross Platform App through Xamarin Forms.
I am facing issue while bringing NavigationPage Title to the Centre in Android. By Default It has Aligned Left side in Android and Centre in iOS.
I would need the Android NavigationPage Title to the Centre.

Xamarin Forms overlaps systems title - how to hide FitsSystemWindows

I am working on Xamarin Forms application. In the top section app overlaps with the android system topbar (No the application bar) I am using my own custom nav bar not using inbuild.
Please suggest how to set the Android.Views.View.FitsSystemWindows property in Xamarin Forms

Pop or Dismiss a Xamarin.Form ContentPage after pushing from Native

In Xamarin, Shared Project.
Is there any way to dismiss or pop a ContentPage after launching it from an iOS or Android Native stack?
I currently do this to launch the ContentPage:
iOS
viewController.PresentViewController(contentPage.CreateViewController(), true, null);
Android
StartActivity(typeof(ContentPageActivity));
and I get the page to come up on both platforms, although I cannot dismiss the Page.
Things that don't work:
popasync(), popmodalasync(), removepage()
Maybe I have to create a reference to their parent view that launched them? But I was under the impression on Android, each ContentPage needs a single Activity to launch. And on iOS you need to launch it from a view controller and create the view controller content page.
Any insights to this would be awesome.
Thanks!

Resources