Combine views between forms and native
Hello, I have one absolute layout with a button, slider and one image as a background. When I load the page I render it in each platform and add a UICollectionView in ios. The problem is that the...
View ArticlePCL dll could not be loaded from Android project (Xamarin.Forms)
Hi all, I am despairing....Since a while I am developing a Xamarin.Forms app. Mostly I check my newest code by starting the iOS app. Sometimes I start the Android version but I know that I am not that...
View ArticleIs it possible to reduce the space between the toolbarItems?
On iPhone 4, more than 4 elements (toolBarItems) cause that one of this overlaps the menu icon even if the space seems sufficient. I wouldn't use Order/Priority because this solution (on iPhone) takes...
View ArticleRelative Layout
How can change the UI position based on screen size in relative Layout? Am using the following code. public AccountsPage () { RelativeLayout rlv = new RelativeLayout (); Label lbl = new Label{...
View ArticleHow to set a page to the landscape orientation?
Hi, Is it possible to forcibly set a page to the landscape orientation in the Xamarin.Forms? I need to set the orientation of one single page of my application to landscape. My application works on...
View ArticleDisplay an image stored locally
Hello, I am trying to display an image stored locally under a PCL library and using Xamarin.Forms with in MyPage.xaml: < Image x:Name="MyImage" / > And code: InitializeComponent(); MyImage.Source...
View ArticleCustom Renderer setup to use control from Component store (RadialProgress)
Hi Could someone offer me a bit of help? I started using Xamarin today. I've extended a ListView to have extra spacing etc, and appear how I wanted it. That worked fine when I threw together a custom...
View ArticlePie Charts & Graphs
I need to create an app which contains some pie charts. I'd like to do this using Xamarin Forms. Does anyone have any suggestions for cross platform libraries that will handle this. Thanks
View ArticleView hierarchy in android leeds to StackOverflowError
Hello, we are currently testing our Xamarin.Forms application on older android devices (with < 1GB Ram). On lot's of these devices (which are still very common in our target countries) the app...
View ArticleMulti-line Label with tail truncation
Is a Label in XF configurable to support multi-line (wraps) and tail truncation at the same time? In iOS, I can do this by specifying the number of lines on a UILabel and specifying tail truncation. If...
View ArticleXamarin Forms ListView Android crash
Hi guys, we are experiencing this crash in our app 10-27 14:42:20.821 E/AndroidRuntime(11355): FATAL EXCEPTION: main 10-27 14:42:20.821 E/AndroidRuntime(11355): java.lang.RuntimeException:...
View ArticleTap gesture on Image is not working inside ViewCell on Android
Hi All What I was trying to achieve is a button for making a product favorite, so it will have two states - selected and deselected. Here is the example of UI Initial approach was just adding the image...
View ArticleMultiline label with truncation
In my app I have a label that I want to be multiline but only to a certain point. After that it must be truncated? How can I achieve this? Currently I can set the LineBreakMode to WordWrap and this...
View ArticleGPS Tracking Service
Hello, I need to create Android service that will send location data to our web service. Service should work even if Android app is closed. I try to use Foreground Service, but it stops, when I close...
View ArticleCrash in mono on HttpClient().PostAsync
I need to post data to a webservice from my xamarin.forms application. I get a mono crash on my ipod touch when client.PostAsync is called. I don't (know how to?) get any usable crash data. One thing I...
View ArticleXamarin.Forms 1.5.1 AppCompat Toolbar on API 16 back button color changes
Hello, I currently tested the AppCompat using a Toolbar with the DrawerLayout. We use a black back button on a white toolbar. This works fine on > Lollipop. But on API16 I noticed a strange...
View ArticleCan you have a dynamic number of views within custom ViewCell templates?
Is it possible to bind to a collection within a custom ViewCell so I can add a dynamic amount of views within the ListView.ItemTemplate For example I have a Grid within my custom ViewCell template and...
View ArticleHow to set font size for NavigationPage title (Android).
Could be done by using NavigationBar.TitleTextAttributes on iOS. How the same can be achieved on Android?
View ArticleSame xaml with different results on various Android devices
Hello, I am coding a layout for WP, Android and iOS. I am using grids with heights and widths to adapt to the size of the screen. It all looks fine in iOS and WP, but in Android things look misplaced,...
View ArticleDoes Xamarin.Forms binding allow me to...
...bind to another control? For example, in XAML: <ContentPage .....> <StackLayout> <Switch x:Name="swExample" /> <Entry x:Name="entryFoo" IsEnabled="{Binding...
View Article