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

Semi-Random, hard to reproduce crash on Android.

I have a page with a ListView. Clicking on an item PushAsync's another page with details about the item. Clicking a toolbar button at the top of the page PushAsync's a page where a user can create a...

View Article


Windows Phone 8.0 / 8.1...?

Hi all I have created an app based on the template Blank App (Xamarin.Forms Shared). Then a platform-project was created: appname.WinPhone (Windows Phone 8.0) If I right-click the properties to that...

View Article


Image may be NSFW.
Clik here to view.

Can't make ViewCellRenderer work

Hello! So, what I'm trying to do is to disable selection style on every ViewCell. I created my own ViewCellRenderer, but the only thing I can see when I run the app (iOS) are generic ViewCells, and my...

View Article

Switch Refreshing Page Error (Hidden Form Data)

Hello! On my user registration page, I have some hidden fields that I only want to display if the user wants to fill them out. I'm using a Switch to control if these fields are visible or not. As I...

View Article

Xamarin.Forms on android java.lang.StackOverflowError in complex layout

[AndroidRuntime] java.lang.StackOverflowError [AndroidRuntime] at android.text.TextLine$SpanSet.init(TextLine.java:1059) [AndroidRuntime] at android.text.TextLine.handleRun(TextLine.java:1157)...

View Article


Xamarin.Forms Multiline Entry / Textarea

Hey Guys, I just have one Question to the Xamarin.Forms, is there also possible to use Multiline-Text-Entries? Cheers F.

View Article

Knowing when a view is currently ON the phone screen.

I have a scrollview, at the bottom I have another view with an image. I want to know when that image is visible to the user (or its ON screen position). Is this possible?

View Article

Exit app through back, open up again and click on picker: Exception

Hi, I've recently started playing around with Xamarin. I have a small app with a picker. When I open the app and click on the picker, everything is fine. When I then leave the app through back button,...

View Article


Form fragments

Hi, Not sure if this is possible, so I thought I'd ask. I have an app which has a standardized layout of a green navigation bar at the top which has a back button and a home button on either side and a...

View Article


XAML Label within GRID

I have the following simple XAML Page so that I can test the settings of Label component. It seems that there is a bug in the Label LineBreakMode property. <?xml version="1.0" encoding="UTF-8"?>...

View Article

OnKeyDown in Android PageRenderer

Can I use OnKeyDown to capture back button events in an native Android PageRenderer. public override bool OnKeyDown (Keycode keyCode, KeyEvent e) 
{ if (keyCode == Keycode.Back) {
 return false; 
}...

View Article

Xamarin.Forms Shared Projects Problems

Does anyone actually use shared projects in Xamarin.Forms? I'm not new to XAML, MVVM or even shared projects, just new to Xamarin. And I'm having problems with the simplest things - leading me to think...

View Article

Remove ActionBar from NavigationPage

I want to remove the ActionBar from all the application when using NavigationPage or other "pages". Tried to remove it from the MainActivity in the OnCreate method like this: protected override void...

View Article


Android Works But Windows Phone Doesn't

I was able to get my Xamarin Forms (using PCL) app running on Android (works on emulator and on a device) but it doesn't work on Windows Phone (doesn't work on emulator or device). There's no error but...

View Article

Xamarin Forms labs nugget package intallation

Hello I was trying to install xamarin forms labs (android project) and i am getting a lot of this errors: Attribute "state_selectable" has already been defined Attribute "state_range_first" has already...

View Article


Conditional creation of a tab page

Hi, It's typical on a Tab Content for each tab to have a different view attached to it. While the demo code shows how to modify a view depending on the tab pressed, the views themselves are the same....

View Article

How to get the height and width of the screen

In xamarin forms. How to get the height and width of the screen?

View Article


Xamarin.Forms Support for Business edition

Hi, We have bought Xamarin License for Business edition for both Android and iOS. If we need to get support for Xamarin.Forms ,where to get support? .But in Xamarin account, they are mentioned to email...

View Article

forms without axml?

The magic of xamarin is the possibility to work with Android and iOS from c# programming knowledge. That's why so many people works with forms... but I have a question, mobile applications are...

View Article

ScrollView not locked when keyboard shows up

Hi, I created an app with Xamarin Forms, with a ContentPage builded like so: ` StackLayout _mainLayout = new StackLayout(); _mainLayout.VerticalOptions = LayoutOptions.Start;- _mainLayout.Orientation =...

View Article
Browsing all 58056 articles
Browse latest View live