XF Listview on Android Marshmallow giving very large blank area before first...
Suddenly my app (in debug or release) on my Nexus 5 running Marshmallow has a massive (about 1 screen length in size) blank space before the first item in the list. This same issue exists if I build...
View ArticleEntry Next/Finished Buttons - Android
When placing multiple Entry controls on a page in Xamarin forms, there appears to be no (obvious) way to enable the Next/Finished buttons that appear on the device keyboard. The buttons appear, but...
View ArticleXamarin.Forms Xaml to add icon image next to user name and password field
Does anyone know how to add an image next to a Text field used for data entry? I can't figure this out. I even tried to create an ImageCell. Here is my code. This code centers the icon image just above...
View ArticleCreate custom XAML objects?
Hi, I'm working on an application (my first Xamarin application) that shows data based on a json string from a REST API. I would like this data to be displayed in white squares similar to a cardview. I...
View ArticleCan we place SearchBar in the navigation bar
Hi, Can we place SearchBar in the navigation bar (like toolbar item)? Thanks, Aratrika
View ArticleAdd a nav bar right button
Just started on Xamarin forms. I know you can add a nav bar right button using standard Xamarin...
View ArticleCan not convert EventColor to type 'Xamarin.Forms.Color'
I'm trying to change TextColorProperty on a TextCell using a DataTemplate. in my model I have public Xamarin.Forms.Color EventColor to use in the datatemplate. For some reason its telling me it can't...
View ArticleHow Render PDF file in Xamarin Forms (Android & IOS)
Hi, I am new in Xamarin , Please let me how we Render PDF file in Xamarin Forms (Android & IOS) any example code please share with me. Thanks
View ArticleDefine layout sizes in inches with IDisplay extension (code only)
I am not sure if there is built in functionality in Xamarin Forms for specifying layout dimensions in device independent way and the Device.OnPlatform method seemed very cumbersome and unpractical to...
View ArticleNavigationRender Issue
Hi, I used below code for my custom navigation renderer in Xamarin.Forms App. But due to this extra blank space(Black Color) left at the bottom of the screen. Please have a look in the attached...
View ArticleHow to write a unittest with Device.OnPlatform()
Hello I want to test a method on the pcl-part. The IOS-Part do other stuff than the android one. For example the ios-part make a ModalPush and the android-part a normal one How do you test such parts?
View ArticleWhat triggers the "CanUpdate" Characteristic property in Monkey.Robotics
What triggers the "CanUpdate" Characteristic property in Monkey.Robotics? I am building a xamarin.forms app using the monkey robotics plugin for my BLE requirements. It has been working, but since I...
View ArticleViewModel notification from collection item
Hi everyone, I'm using Xamarin.Forms and MVVMLight for an Mobile application. I've got a ViewModel which contains a collection of ObservableObject. I'm not using a listview because i can't for business...
View ArticleHow to create Usercontrol in xaml
Dear, i'm try to create a ContentPage wich contains a ContentView this "ContentView" will be another xaml file like an usercontrol. But this doesn't work! show me an exception The ex is throwed...
View ArticleTrying to make 'Next' and 'Prev' buttons on Keyboard through Custom Renderer....
So I'm trying to test if I can make the Next button on my keyboard go to the next Entry. My Done, Next, and Previous buttons on the keyboard were made using Custom Renderer for iOS. Here's the code...
View ArticleFix for Button Layout Bug on Android
If you've run into the same problems with layout on buttons that I have where when you either add other controls, or even just do things like set text on labels, and you're finding that the Button text...
View ArticleHow do I call a method on a custom Xamarin.Forms control?
As the title says - if I have a custom control, like this one, how can I call a method on the renderer? My use-case: I'd like to create a custom cross-platform control for rendering SVG's. The logic is...
View ArticleProblem to create a touch plugin
I'm trying to create a plugin to use touch events in forms. I'll use iOS as exemple, so i've created the classes, ViewTouch and CrossTouch extended to UIView and Interface respectively public class...
View ArticleGet content of a WebView as a string
Is it possible to get the content of a WebView as a string? I tried using: HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(Constants.LOGIN_URL); HttpWebResponse response =...
View ArticleAndroid crashes with ActivityIndicator while starting
Hi, on our project (and a blank test project for reproduction) the ActivityIndicator let Android Apps crash when they use minimum API Level 16 (4.1 Jelly Beans). It's enough to put a ActivityIndicator...
View Article