How to use Xamarin.Contacts in my project
I am trying to make a listview that holds the contacts in the android phone. I added the "READ_CONTACTS" permission and added a reference to Xamarin.Mobile to my project. When I attempt to add the line...
View ArticleAttribute "circleCrop" has already been defined (APT0000) common_attrs.xml...
I upgraded from Xamarin.Forms.Maps 1.4.0.0 to 1.5.0.6447. My solution contains several projects, including a lot of PCLs, two Android, and two iOS projects. Everything was building fine before the...
View ArticleBreakpoint is not hitting
Hi Team, In my xamarin studio breakpoint is not hitting even though I have done the below approaches. Please advise. Open the Project options Go to "Build -> Compiler -> General Options." Set...
View ArticleRight aligned toolbar items disappear in landscape orientation in iPad
Hi, I'm using MasterDetailPage. Everything is working fine in iOS(iPad/portrait orientation) but when I change orientation to landscape , right aligned toolbar item disappear and I never see that item...
View ArticleTapGesture to stacklayout doesn't work in Android
Hi, I added TapGestureRecognizer to stack layout. Its works well in iOS but not working in Android at all. Code is as under : var txtCompany = new ExtendedEntryControl...
View ArticleDatepicker: Possible to bind to Nullable date value?
Hi everybody! I have a nullable date field in my object and I want to bind a date picker to it. When the value is null, I would just want to show no value in the picker. Is this possible? I tried...
View ArticlePlaying audio files in xamarin forms
Hi, Can anyone tried to play audio files in the application using xamarin forms.If so please show me a way to implement this. Thanks , sunil
View ArticleBuilding errors after update to Xamarin.Forms2
Please help! I just updated to Xamarin.Forms 2 a solution with three projects: - Portable library - Android project - iOS project After updating my solution is giving me 271 errors when I build: In...
View ArticleSearchBar text not visible on iOS because it's white?
I'm still using the previous version of Xamarin.Forms since my upgrade to 2.0 did not work. It's a clean install. Anyway, I'm using a SearchBar control to search a ListView on iOS and Android. On...
View ArticleHow OnBackButtonPressed works?
Hi, I'm trying to understand how OnBackButtonPressed works because I set the breakpoint in that method but it's never hit. I have two pages - PageOneView ** and **PageTwoView. In App.cs, I set...
View ArticleNeed to put HTML into a Label
I am using Xamarin.Forms and the Label view. I use the FormattedText (FormattedString class) to put formatted text in the Label. My goal here is to be able to convert HTML to a FormattedString. In...
View ArticleSetting the height of a BoxView as a percentage of the Grid which contains it...
Hi all, I've got a requirement to fill a bunch of boxes with a color based on a individual double properties on the viewmodel which represent the percentage "full" the box should be. These properties...
View ArticleXaml Intellisense in Visual Studio 2013
Hi everyone. I hope that I am putting this into the right forum. if not, please tell me where it needs to go. :-) I have setup the Mobile Essentials pack from :...
View ArticleContentView ItemTemplateSelector (No listView)
Hi, I'm trying to work with a ContentView that can have different template based on a parameter. In my case, depends on the language, I will have a different template. Every sample I've found on the...
View ArticleDoes BaseUrl still not work in Android?
I am downloading HTML content from cloud (html, css, js and image files) and want to render in my mobile app. I am storing the css, js and image files into a local folder and want those to be picked up...
View ArticleHow to Databind to a "Dynamic" object ?
I am currently using DevExpress grid and want to data-bind the grid to a Dynamic object that does not have properties. I have to assign an object to the ItemsSource property and I am not sure how to...
View ArticleIs there a way to create a TabbedPage without instantiating all the Sub/Tab...
Hi, I want to create a TabbedPage to display inherent files of a folder in a ListView. But the more folders i add to the TabbedView, the more time it takes to initiate the view because all SubPages are...
View ArticleButton renderer and states
Hi, I've read a lot of code and example without finding anything really usefull. I'm looking for a way to customize the appearance of a button depend on its state. Right now, the only thing I managed...
View Articleproblem with navigation
I created a Service (Navigation Service, NavigationService), but when I use in my ViewModel, nothing happens when I use the "PushAsync" but when I use the "PopModalAsync" present my page I want to...
View ArticleHow can I get the MasterDetailPage to behave itself in split view on iPad?
I've got an app that's using the Xamarin Forms MasterDetailPage to layout a slide-over burger menu on phones and a popover on tablets. But when I open the app in split view on an iPad, it falls down....
View Article