Multi-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 ArticleNavigationDrawer scenario, errors related to overriding of...
Hello. I'm trying this one just needed some help cleaning out the errors. Basically I am attempting a Navigation Drawer code in android app. using Xamarin. There is an example/tutorial available on...
View ArticleXamarin.Forms TabbedPage - Capturing the tab click event (no page change)
Experts, I was able to extend the Xamarin.Forms TabbedPage class to add an event that is triggered when tabs change ā so great. Now Iād like to be able to capture the tab click event that occurs when...
View ArticleTwo way binding is not working
Hello All, I am trying to bind the text of a button with the Property,It's binding fine for the first time but next time onwards it's not updating even it's been updated. I am using xamarin.forms...
View ArticleGetting the click event on the current tab / active tab on iOS
I have managed how to get an event when switching between tabs. https://gist.github.com/anonymous/db9d6619fd6aca557e31 But I need to trigger a function when clicking on the active / current tab....
View ArticleOverriding ContentPage and Setting Content outside the main constructor does...
I am trying to build a Base Page... Essentially I would like to add a side bar to all pages of my application without having to add it to every pages Xaml (I don't want to use master detail as i would...
View ArticleOn Tab ReSelect PopToRoot - TabbedPage
Hi, I'm facing a issue which seems simple but Im having a hard time trying to solve. I use a TabPage on android that have a NavigationPage each: public class TabPage : CustomTabbedPage { public TabPage...
View ArticleAcr.XamForms.UserDialogs.Toast customizing the UI apperance
Hi Guys We have been using the Acr.XamForms.UserDialogs.Toast across all our apps and we would like to customize the UI appearance (background colour , font size , font colour, rounded corners, etc.)...
View ArticleAndroid - Embedded Resource and CustomRenderer
Hi, currently i am Xamarin.Forms with Android and it's pretty cool. But i now faced a problem and i cant find a solution so far. Inside my PCL i've created this class public class DDSButton : View {...
View ArticleXamarin Forms Video github
iOS / Android Xamarin Forms Video Player (updated) https://github.com/amccorma/xamarin-amccorma/tree/master/VideoPlayer download the zip file. samples attached.
View Article