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

Entry View: Soft Keyboard appears but (sometimes) can't enter text

I've got a Xamarin Forms app running on Android. It has various different pages, many of which have one or more Xamarin Forms "Entry" views. Mostly, everything works great. The users taps on an Entry,...

View Article


How to change font size unit? Or make fonts appear the same size on different...

I think I already know the answer, but I have to ask. So we developed an update which includes an option for users to have larger text size. Apparently, they didn't notice this until now because they...

View Article


How to check user has permission to access contacts?

I am going through my code ensuring that I check the user has the appropriate permissions before performing actions. Wherever possible, I am using James Montemagno's Permissions plugin for this, but it...

View Article

Image may be NSFW.
Clik here to view.

Unable to add Xamarin.Forms.Maps into Android part of shared project

Hello, I need to translate gps coords to address and to show maps with nice features. I'd like to add Xamarin.Form.Maps to my projects. iOS side is working well, but when I try to add X.F.Maps to...

View Article

Have common ToolBarItems in a base ContentPage?

I want to have a common set of ToolBarItems on all my pages - but with each page then having its own additional ToolBarItems. I'm thinking of setting up the common ToolBarItems in a base ContentPage,...

View Article


"Java.Lang.IllegalStateException: Activity has been destroyed" when using AdMob

I have done some tests of how to use AdMob in Xamarin.Forms and I got stuck on this. Scenario: A MasterDetailPage containing an empty master and a detail that is a new NavigationPage(myAdPage) Start...

View Article

How to make the dynamic grid view and make it clickable?

Is there a way to dynamically create a grid's from the List and make it clickable on the PCL project using mvvm?

View Article

Parse XML SOAP body

I am getting this edited SOAP packet back from a web service: I have changed the "<" to a "|" otherwise the XML gets eaten here. |WSSC_Get_JobsResponseA>...

View Article


Image may be NSFW.
Clik here to view.

How to inherit my base page in XAML?

Can I design a based page like the following code My new page can inherit this base page, I want to put some views between the StackLayout in ScrollView in my new page How to design the base page and...

View Article


How can I know when a view has finished rendering?

Hi guys- I've noticed that when OnElementPropertyChanged is fired on a VisualElement like a BoxView, the properties of the underlying platform view are not updated at that time. I want to know when the...

View Article

How to avoid showing keyboard when focusing EntryCell

Hi, I have a Xamarin.forms project, I have a page with an EntryCell control, I want to avoid showing the keyboard when the EntryCell gets the focus since it is for scanning barcode labels, how can I...

View Article

Azure Custom Authentication - Full code

Hey guys , Does anyone have the full enterprise-ready code on how to create a custom registration/login system for Azure Mobile Apps (Entity Framework) I came across this but it seems very simplistic...

View Article

Bind data to multiple Grid labels inside CarouselView

Hi. I have my Grid class filled with 35 labels. Also this Grid class is used as item template for CarouselView. So my question is: How can I bind data(text) to 35 labels, adding these labels using FOR...

View Article


How to debug when Observable Collection gets updated

I'm trying to debug my ObservableCollection when an Item gets added, but it doesn't hit the breakpoint set under the Setter. How can I debug when the ObservableCollection gets updated on the ViewModel?

View Article

Data Entry

Hi List, the following data should be entered (DataRow) ProjectNr (from listView) Employee (from other Listview) WorkDate (DateTimePicker) WorkTime (TextEntry or Picker) Probably the last 3 to 4...

View Article


Moved: How to download a file using Xamarin.Auth OAuth2Request?

This discussion has been moved.

View Article

How to reference other projects

I am trying to use this component: https://components.xamarin.com/view/signature-pad in my forms app but it doesn't support UWP. Another user here came up with this...

View Article


Image may be NSFW.
Clik here to view.

Binary XML file line #1: Error inflating class android.support.v7.widget.Toolbar

Hola, soy Erick y pues soy nuevo en Xamarin, hace poco yo actualice xamarin a su ultima version y pues cuando cree un nuevo proyecto me empezo a salir un error que yo no se como solucionarlo, y pues...

View Article

Bind image to email validator boolean

I'm trying to replicate the email validator behavior in c# and, being the rookie that I am, have had trouble making sense of the XAML example to use in my c# page. I can't figure out how to bind an...

View Article

Navigation behaving differently in iOS vs. Android

I have created a cross-platform app with 3 Content Pages. 1) Page 1 is defined as MainPage in App.xaml.cs MainPage = new NavigationPage(new Home()); 2) From Page 1, user can navigate to Page 2. When a...

View Article
Browsing all 77050 articles
Browse latest View live


Latest Images