Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 77050 articles
Browse latest View live

How to reduce apk with Android App Bundle and how to build for 64-bit...

I have 2 questions both of them about building xamarin forms app for android for google play console, I will ask in one post I see in google play console that my apk would be smaller if I use Android...

View Article


Smooth scroll to position when ListView SelectedItem changed

Summary Automatically scroll the ListView to the selected position when SelectedItem property is changed. Works on iOS, but not implemented on Android or UWP. API Changes Update ListView renderers for...

View Article


how to off nestedscrolling in listview inside scrollview in xamarin forms

<ListView x:Name="pasengerlist" SelectionMode="None" VerticalOptions="FillAndExpand" BackgroundColor="White" HasUnevenRows="true"> <ListView.ItemTemplate> <DataTemplate> <ViewCell...

View Article

Expander

Is there a way to put and expander inside a ContentPage? I have a MasterDetailPage app and i would like to have sort of an expander; like the one used by gmail app where you specify multiple gmail...

View Article

Image may be NSFW.
Clik here to view.

Filter-able Picker/Lookup control

Hi Guys, I am looking for some plug-in or snap on code (no custom renderers please) For a functionality like shown below. I tried implementing this with https://github.com/rotorgames/Rg.Plugins.Popup,...

View Article


Get Version Number and Version Name from the Android Manifest in Xamarin...

Xamarin Forms Users, Please help, with a questions about getting information about an app at run time, using Xamarin Forms, with C#, via Visual Studio Community 2019. How can one... Get Version Number...

View Article

Cancel webview navigation event, e.Cancel = true not working.

Cancel webview navigation is not working, and sometimes it works but makes the webview unresponsive. Any suggestions, I need to get some data from javascript to c#. TIA @JamesMontemagno @candidodmv...

View Article

How can I prevent labels from taking up all available horizontal space when...

I have labels inside a grid and I want them to take up only the necessary space to fit the text. With short messages this works correctly, but with longer messages that text wrap the label fills the...

View Article


Adding index to xamarin picker

Hi all Can I add item and index to xamarin picker in asp.net I use this code DropDownList1.Items.Add(New ListItem("English","EN")) but in Xamarin forms I can only add Item Picker1.Items.Add("English");...

View Article


Floating Action Button with Listview inside a TabbedPage.

I want to add FAB in a view that has listview in it and that view is in TabbedPage Contentpage. Here is my code (Giving Error : The property 'Content' is set more than once. <TabbedPage xmlns="..."...

View Article

Debugging WebView: Chrom Dev Tools Cannot Recognize WebView as Browser

I'm using a WebView to display a local HTML page. This works great, other than the fact that I need to debug some more complex functionality of the html/js that I'm adding to it. I have no way to debug...

View Article

Floating Action Button with Listview inside a TabbedPage.

I want to add a FAB in a view having listview that is in TabbedPage ContentPage. Here's my code...Error XLS0501 The property 'Content' is set more than once. <TabbedPage xmlns="..." xmlns:x="..."...

View Article

Setting Icon File Names as Resources

I was trying to get all of my icon file definitions in one place so that it would be easy to swap icon sets in the future. Since I use XAML for my page definitions, I thought I'd make a...

View Article


Simple: Binding an IEnumerable ...is there a better way???

I'm tying to bind an IEnumerable<View> to a StackLayout. My current solution is pretty weak Kung-Fu...... protected override void OnBindingContextChanged() { base.OnBindingContextChanged();...

View Article

Error when export APK and install this APK file with Xamarin Forms

I have used release mode and debug mode too with Xamarin.forms: Build-> Archive for Publishing wizard. After publishing, I selected Ad Hoc and saved the APK to my local drive. I have min SDK version...

View Article


iOS page covers status bar

What should I do to prevent the application cover the status bar area? It covers the whole window and status icons are visible through top_grid on iPad 2 simulator <?xml version="1.0"...

View Article

Can't create new Prism project

Hi, I can't create a new Prism (Xamarim.Forms) project anymore 'cause I'm getting this error Requested value 'autofac' was not found from visual studio when I try to create the project. I've tried with...

View Article


Xamarin.Forms Android FileProvider: Java.Lang.NullPointerException when...

I've been trying generate word files and open it on an Android using Xamarin.Forms. I can create the file, but the following error is thrown when I try to read: Java.Lang.NullPointerException: Attempt...

View Article

Accessing controls on the Shared project from the platform projects

Hi. I'm new to Xamarin.Forms and I need a bit of guidance. What I'm trying to do : Feed the device's calendar data (events, appointments, etc.) to the Third Party Calendar Xamarin.Forms control Control...

View Article

Different background for each selection in a list

Hello, I am creating a list. I need each item in the list to have a different background color. With the code I'm using the background color is white. I'm not sure what I'm doing wrong. using...

View Article
Browsing all 77050 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>