How do i set custom font
Hi, I am newbie to this, May i know How do i use custom font in xamarin forms, Following example doesn't work for me, m_lblText = new Label { Text = _lblText, FontFamily = Device.OnPlatform( "SF...
View ArticleAndroid Themes: Xamarin.Forms change the color of selected ListView item
So I want to swap out Blue in holo light theme to Orange. I've used this Holo Generator quite a few times with good results in normal Android apps.. but the "ListView" in Xamarin.Forms seems to render...
View ArticleRight Bar Button Image Size
Hi! I set a ToolBarItem which has an icon. I set it as my right bar button. But how can i set a responsive size for it? If it is impossible to make it responsive, what is the true size for that button?...
View ArticleDocs for BindableProperty
Does anyone know of a good source of Information for the BindableProperty and its usages in Xamarin Forms. Theres lots of piecemeal bits and pieces, which only cover the most simplistic scenarios (and...
View ArticleView Size in Custom Renderer
Hi I'm trying to create a custom renderer for an Image in my iOS project. The problem is that I can't get any size information. The only thing I get is (see comment in code). I need the correct width...
View ArticleSet RelativeLayout constraint expression from code
How do i change the RelativeLayout of a view from code? I have this XAML: <StackLayout x:Name="SemiLayout" RelativeLayout.HeightConstraint = "{ConstraintExpression Type=RelativeToParent,...
View ArticleNot able to add Xamarin.forms package
I tried to add Xamarin.forms package ( from add NuGet package ) . But it shows the following in package console . Adding Xamarin.Forms... Attempting to resolve dependency 'Xamarin.Android.Support.v4 (≥...
View ArticleXamarin Forms iOS Webview flashes when loading pages
Hi everyone, I'm trying to make a cross-platform Xamarin Forms Webview application and have a render issue with the iOS WebView. When clicking a link the WebView clears for a few moments, and then the...
View ArticleAndroid ActionBar Too Large
I have an ActionBar that has 5 tabs in it. When viewing it in a lower-resolution device (800x1280) the tabs fit perfectly within the width of the screen. When viewed in a higher resolution (1080x1920)...
View ArticleHow to Resume the App from a Service?
Let me detail what I'm trying to do: I have a class derived from BroadcastReceiver which intercepts SMSes. I want to open (resume to the last state) the UI (or to create a new one if it wasn't created...
View ArticleRefresh ListView After Deleting List Item
Hi! I have a listview, full of items. When i delete an item from my itemssource list, how can i refresh my ListView row number? Because if i delete any item, it appears a blank row. I want to update...
View ArticleHow many different ways are there to customize XF?
I want to use XF as much as possible, but, of course, not everything has been implemented yet in the built-in feature set. Therefore, it would be nice to see a list of all the different ways XF can be...
View ArticleAdding ToolbarItem asynchronously to NavigationPage
I would like to add a notification icon to NavigationPage ToolbarItems asynchronously. A web service is called to get notifications count and then I assign an icon to ToolbarItem corresponding to...
View ArticleCan I change the native Control used for a given XF View?
Is it possible to customize which native control is used for a given XF View? For example, an Entry uses a UITextField on iOS. Sometimes, the only way to customize UI controls is to extend them and...
View ArticleCan't get to ListView context actions on selected list item under iOS with...
In our app we leave the currently-selected item in a list view (bound to an ObservableCollection<T>) as the SelectedItem, so that the selected list item is always highlighted. Our list view cell...
View ArticleAndroid memory allocation growing infinitly
I have been trying to figure out how to create android apps that includes navigation and images, it seems that Xamarin.Forms keeps the images on memory even if you leave the page. Not only that it...
View ArticleTransition pages with static header
Hi all, I'm new with Xamarin and I need a solution for this problem. I need to create a page with two components: header on top and body below header. The requirement is the header must be static and...
View ArticleVisual Studio: Invalid missing license screen
Hi there, I am building a iOS Forms app, having a iOS Business License. But Visual Studio nags me on every build, that I dont have a Android license - which is perfectly correct. But I am not doing...
View Articlenavigation page without title bar
Hi, I have navigation page ( Page A ) **without title bar. but if i navigate the current page to **page B. Then current page (Page A ) get move litle bit up side. Can any one help me out it
View ArticleScrollView on Android - crash when parent reassigned
(I tried to post this before, but got a "need to review"-message, and like before, that never seems to happen.) I have a ScrollView, which is attached to a contentview, and sometimes not (see it like a...
View Article