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

Scrollview is not working in xamarin forms?

I am working on xamarin forms. Where I have one content page with a few fields which I have added using Entry tag. Fields are more so I have added a scroll view to the entire content page. In one of...

View Article


How do l ressolve System.Net.WebException Error .The Internet connection...

The project l am building has some images on a file storage site and its consuming api's and it connected to the internet via my phone.After a lot of research l found out it has a bit to do with my...

View Article


FadeTo giving NulLReference Exception after updating to latest Xamarin.Forms

From this code: this.label_1.Text = "test"; //Works this.label_1.FadeTo(0, 0); //NullReferenceException i get this message: Exception thrown: 'System.NullReferenceException' in Xamarin.Forms.Core.dll I...

View Article

Preload images in cache to be used in Image later

Hi I have a need to preload all images I need in my app, into the cache, to make my app work offline. For now I've used reflection to call the private GetStreamAsync method in UriImageSource, which...

View Article

How would I load a certain stylesheet based on theme?

I have 20 some themes that the user can pick from. I've set up a separate CSS page for each one. I want to use a switch statement to see which theme the user has chosen and then use set that CSS...

View Article


When using xamarin.forms.Pancake causes the app to crash

When I try to navigate to a page with Pancake view, It causes the app to crash with an error "Attempt to invoke virtual method 'void android.graphics.Bitmap.setHasAlpha(boolean)' on a null object...

View Article

Avoid starting the APP twice

I have a problem, my APP xamarin.forms, is set up to receive files from other APPs (sharing). Each time a file / text is shared with my APP, a new instance of the APP is launched. How can I avoid...

View Article

RelativeSource bindings and Behaviors

RelativeSource bindings don`t work with behaviors, so I am not able to do it inside controltemplate and bind to templated parent

View Article


Shell 4.3 Flyout and Tabar bottom

Hello I migrated in version 4.3, I can not have a flyout and a tabar of 3 tabs down, the shell takes me into account that the first place first. An idea ? thank you in advance

View Article


Moved: Mono version required on Mac...

This discussion has been moved.

View Article

Invalid number of rows in section

I trying to bind a ListView with an ObservableCollection. It works on both Windows Phone and Android but when running it on iOS I get an exception. The message says:...

View Article

cant install Xamarin.GooglePlayServices.27.0.0

Im trying to update to the latedst versions of te Xamarim paCKAGES. However Xamarin.GooglePlayServices.27.0.0 wont install. Ive already installed the latest versions of every other Xamarin package,...

View Article

Image may be NSFW.
Clik here to view.

Custom Renderer for button with padding not properly sizing buttons in Android

I'm having a lot of trouble getting something that should be very simple to work. All I want is to have buttons with a little bit of padding around the text or icon in the UI. Following an answer on...

View Article


How to make a multicolumn Picker

I am trying to get the same look and feel as "DatePicker" but instead of picking a date I want my own data to be populating it. For example instead of the columns being "Day, Month, Year" I want it to...

View Article

multi-column picker

Hi folks, I want to allow a user to enter a time duration into my app. I think the best of doing this is with a picker that has weeks, days and hours columns. Does anyone know the best way of achieving...

View Article


Image may be NSFW.
Clik here to view.

Button - how to align text to the left

Hello, I want to create a button like this? Unfortunately, I don't know how to align the text in the button to the left. In Xamarin.Forms I see that there is no way to change text alignment of the...

View Article

Hamburger menu items disappear when app is built in release

Hi. When i build my xamarin.forms app in debug for android, i see the hamburger menu items, however as soon as i build in release mode, they disappear. This is specifically occuring in the android...

View Article


Command on PancakeView Tap Gesture Recognizer Not Working

I'm creating a chat app and I've created a view model that has a command to allow a user to send their message and add it to a ListView. The send command, however, doesn't work when I use a PancakeView...

View Article

Xamarin Shell bottom tab bar drop shadow

I'm new to shell and I've realized that whiles testing the bottom tab bar, there is no drop shadow effect on it. How would I go by adding one?

View Article

Using the VisualStateManager in a CollectionView's ItemTemplate

I have the following DataTemplate which I use for the ItemTemplate of a CollectionView: <DataTemplate> <StackLayout Margin="0" Padding="0" Spacing="0" BackgroundColor="Transparent"...

View Article
Browsing all 89864 articles
Browse latest View live


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