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

Image may be NSFW.
Clik here to view.

Bug in horizontal alignment in a custom ViewCell in the ListView

Hello, I have a bug related with horizontal alignment in a custom ViewCell in the ListView. Or maybe I do something wrong. I have a small and simple data model class: public class DataItem { public...

View Article


Custom Button Renderer not working in iOS

I want to draw a 'down' triangle over a button (like a windows dropdown list). In Android, putting code into the Draw method draws after the button is rendered by the system. In iOS it draws before, so...

View Article


Android Navigation Bar changing after showing modal

I have a Navigation page which shows its content correctly and whose Color is set correctly when the application starts everything is ok but then when I show a Modal page and I pop it, the color is...

View Article

Threading issues in App.cs OnSleep()

I'm using PCL Storage to write my JSON data to the device, and it's working great for the most part. However it is failing during the App OnSleep() event. The functions CreateFileAsync() and...

View Article

Preload images in ListView

I have a listview that simply displays images. One after another. It's basically an where Url is a simple string. What I'm seeing is that the image is not loaded until the image scrolls into view. I...

View Article


NavigationPage.SetTitleIcon

What might cause an icon not to display? If I create a blank Xamarin Forms app and use the example from the documentation I can get an icon to display but in three other active projects with lots of...

View Article

Is there a way to partially mask an entry field in xamarin?

I would like to partially mask a username field to this format ta*********@company.com. I tried using a converter but it doesn't work. What is the best way to achieve this in xamarin....

View Article

Runtime Error using DateTimePicker

My xamarin forms Android app crashes as soon as I click the DateTimePicker, on simulator or real device. Targetting Android 5.0. Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable:...

View Article


How to dismiss keyboard in WP, when „Enter-Key“ is pressed?

Unbelievable, but true: Since I work with XF, the Keyboard in WP don’ dismiss, when the “Enter-Key” on the soft-keyboad is pressed (while it works without problems on iOS and Android). I also have...

View Article


Image may be NSFW.
Clik here to view.

APK file generated is too big

Hello. I just have built the APK file of my Xamarin.Forms app for Android, but the file size is around 26MB, which I think is too big. How can I decrease it? Thanks!

View Article

[BUG] Upgraded iPad to 9.0.1. Using QLPreview results in invisible dialogs!

I recently upgraded my iPad to 9.0.1 to try and debug an issue my boss was experiencing with our app. In doing so, I actually came across another bug that I need help with. I am using...

View Article

Attribute "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 Article

Android Picker - Text Color?

Is there a way to change the Text color of the Xamarin Forms Picker for Android? (The sponner that pops up, not the actual control that shows the choice made.) I've tried this, but the Spinner is...

View Article


PushAsync from a tab within a TabbedPage

I have a root NavigationPage. I PushAsync to a TabbedPage. One of the tabs is a ContentPage that has a Picker, and on SelectedIndexChanged I need to PushAsync another ContentPage. This throws...

View Article

Accessing Navigation from AppDelegate

How would be the best way to popup a modal (across the entire app) from the response of a notification action? The AppDelegate's ReceivedLocalNotification executes, however I am not exactly sure what...

View Article


Image may be NSFW.
Clik here to view.

Create a layered Page/layering controls

Maybe I'm not searching for the right thing here, but by the life of me I cannot find a good sample of how to layer one control over the other, in XAML. For instance I have a map control and I want to...

View Article

Xamarin iOS Notifications (Dependency Service)

Hi, I have a really weird problem, I hope you can help me. I am implementing notifications in a Xamarin.Forms project, working in both android and iOS platform. To do so, I have to use Dependency...

View Article


Change the keyboard type for SearchBar

We have a page that uses SearchBar, but in one instance, it would be more beneficial for us to be able to use Keyboard.Numeric since we're searching for values that largely contain numbers. Is...

View Article

Is there any way to use the native Map Pins as drawable resources?

I've never tried this before, so I'm not sure where to start. I'm planning on extending the X.F.Maps Pin to add the ability to change it's hue/tint. I need to have different colors for different...

View Article

ContentPage was not found error, when creating new xamarin.forms portable app

I have visual studio 2015 community installed on windows 10. I'm getting an error 'ContentPage was not found' after i do the follow simple steps. * In Visual Studio 2015 add new project select 'Blank...

View Article
Browsing all 89864 articles
Browse latest View live


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