xamarin - Is it possible to add a tabbed page in a master detail detail page?

I need to make something like the picture below. Is adding a tabbed page in a detail page in master detail possible? I keep getting invalid cast t error whenever I try. Help please Tried this code with webview but getting invalid cast exception <?xml version="1.0" encoding="utf-8" ?><TabbedPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:Company.MobileApp.Custom" x:Class="Company.MobileApp.AboutPage"> <Fram...Read more

xamarin - The root certificate of the signature in the app package or bundle must be trusted

I am working on mobile application development for which I am using Xamarin with Visual studio 2017.I have created a package for UWP(Universal Windows Platform) platform for windows mobile app, which I tested on my local machine by installing it which is working fine.However, when I have given this entire package(appxbundle etc.) to other user for testing, on there machine it is giving the following error while installing. Error 0x800B0109 :The root certificate of the signature in the app package or bundle must be trusted.SO what is the reason...Read more

"Raw" Xamarin and MvvmCross

I'm still so new to Android that I'm not sure this is even a question, but here goes.I'm using MvvmCross 5.6.3.I need to use Xamarin routines like Signature Pad which do not have MvvmCross 'wrappers'.What do I need to be aware of when introducing Xamarin NuGet packages into my "MvvmCross" project?Is there a "standard" set of functions/code/techniques that must be used to access 'Xamarin' from 'within' 'MvvmCross' code?Thank you,Marc...Read more

xamarin.forms - Xamarin Forms - control the height of a button in a grid

Notice the two buttons below. The first is in a StackLayout, and the second is in a 1x1 grid cell. The first obeys the HeightRequest property, but the second will not.How can I control the size of a Button inside of a GridCell?XAML<?xml version="1.0" encoding="utf-8" ?><ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:local="clr-namespace:SimpleApp" x:Class="SimpleApp.MainPage"> <StackLayout> <Button Text="B...Read more

xamarin - Error CS0103: The name 'InitializeComponent' does not exist in the current context

Using Visual Studio Community for Mac 7.3.3 (build 7) I make an iOS project. Then make a new .NET Standard 2.0 lib.Using the built in NuGet support I add Xamarin.Formsto each Project.In the Net Standard 2.0 Lib I Add -> New File and Select Forms ContentPage XamlThis creates an empty class and corresponding XAML file. In the classes constructor it contains 1 line:InitializeComponent();When I attempt to compile either the NET Standard 2.0 lib OR the iOS project, the compilation fails with the following error: Error CS0103: The name 'Initializ...Read more

How to login to facebook in Xamarin.Forms

I want to make a Xamarin.Forms project, targeting iOs, Android and Windows Phone.My app needs to authenticate users, using Facebook.Should I implement login for each platform independently, or use a manual flow?https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow/v2.0I prefer to have a single implementation of the login flow, and use it on all platforms.How can I get a single implementaion of the facebook login flow?...Read more

xamarin.android - Xamarin Forms Android Error: Please install package 'Android Support Library'

I recently uploaded my project to Git, and used a auto-generated Xamarin/Windows/MacOS/VisualStudio .gitignore file. I did a lot of work and testing on iOS, but now I'm coming back to android but upon building the Project.Droid version, I get the following errors:Error 11 Please install package: 'Android Support Library' available in SDK installer. Android resource directory C:\Users\dev\AppData\Local\Xamarin\Android.Support.v4\21.0.3\embedded\./ doesn't exist. MyProject.DroidError 5 Please install package: 'Android Support Library' a...Read more

xamarin.android - Xamarin - apk App Size

So, after all the hard-work developing the app using Xamarin.Forms, when I tried to create a release build today, I was shocked to see the app size is ~25MB - ~31MB (after SDK Only Linking, ProGuard, Creating apk for each abi). My resource folder is only in KBs. The apk actually was just 5MB in debug mode and was so happy to see it. I later realized that this is because of the option "Use Shared Runtime" which we are not supposed to use in Release Mode.I then tried creating a blank Xamarin.Android app, but the release build with Linking SDK &am...Read more

xamarin.forms - How do you switch pages in Xamarin Forms?

How do you switch between pages in Xamarin Forms? My main page is a ContentPage and I don't want to switch to something like a Tabbed Page.I've been able to pseudo-do it by finding parents of the controls that should trigger the new page until I find the ContentPage and then swap out the Content with controls for a new page. But this seems really sloppy.Thanks...Read more

Xamarin.Forms - InitializeComponent doesn't exist when creating a new page

I'm using Visual Studio to try out Xamarin.Forms. I'm trying to follow the guide:http://developer.xamarin.com/guides/cross-platform/xamarin-forms/xaml-for-xamarin-forms/getting_started_with_xaml/In short, I create a Xamarin.Forms solution using a PCL and then try to add a Forms XAML Page to the PCL-project.The code-behind that gets created looks like this: public partial class Page1 : ContentPage { public Page1() { InitializeComponent(); } }The problem here is that InitializeComponent(); is red.When I t...Read more

xamarin.ios - Xamarin Forms ListView scroll UI problems

I'm going to create something like ChatView with predefined messages using Xamarin forms. When I click on screen new message appears (it simply added to Messages Observable collection)I have next custom cell (BubbleCell)<ViewCell x:Class="stori.es.Pages.Chat.Views.BubbleCell" xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:controls="clr-namespace:App.Platform.Forms.Controls;assembly=App.Platform" x:Name="Root"><ViewCell.View> <AbsoluteLayout Padding...Read more