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

Set font attributes to "Light, Ultralight" and so on.

I have included some custom fonts, but I would like to use "Light, Ultralight, Medium, Black" and so on. The font attributes only support "Bold" and "Italic", How can I choose other attributes?

View Article


Windows 8.1 app in Win 10 - Refresh problem?

We are experiencing a very strange problem with a Xama Forms app for Win 8.1 running on Win 10. A View that works perfectly on all the other platforms: Andro, iOS, Win 8.1, has a refresh problem on Win...

View Article


Error when building sln: Cannot copy "Xamarin.Forms.Core.dll" to bin

I get all these timeouts when I attempt to build my solution: Error Could not copy "C:\Users\my_user_name\Documents\Visual Studio...

View Article

Notifications / Toasts with Xamarin.Forms

Hi, does Xamarin.Forms implement a default way to put notifications to the platforms notification-centers? I'd like to send a message to the user if the app is running in background. Thanks for ideas,...

View Article

WebView not showing after loading on Absolute and Relative Layout

Hi, I'm trying to show an ActivityIndicator until my webpage finish to load the content. The problem is that the page does not renderer the webview after the content is ready. If the only content of...

View Article


Get current Uri from HybridWebView

Hi I would like access to the actual Uri of either HybridWebView. I need it to watch for a certain url pattern during redirecting. The Uri property of HybridWebViewdoes not seem to ge updated when...

View Article

How to use platform Idiom in Xaml

Although I can do the following in code, I want to do it in Xaml: if (Xamarin.Forms.Device.Idiom == TargetIdiom.Phone) { MainPage = new NavigationPage(new MyPage()); } else...

View Article

InitializeComponent does not exist

Hi, I'm having difficulties on XAML files in a Sheared project. Using Xamarin Studio; What I did was simply adding a xaml page to the project and build without adding any code. And it gives me the "The...

View Article


Exception on developer console, "You MUST call Xamarin.Insights.Initialize();...

Hi all, I have built and published my app in google playstore. Recently one of our user who uses Samsung Galaxy 3 reported that App is crashing frequently. Since Xamarin Insights is under renovation I...

View Article


Found a way to make ToolBarItems Visible/Invisible..without a custom renderer

So from what I've seen in the API Docs (http://iosapi.xamarin.com/?link=T:Xamarin.Forms.MenuItem/*) Toolbar items don't seem to have an IsVisible property. I was able to accomplish this by defining a...

View Article

Maps and absolute layout problem

Hi, I have a standard forms map. This map is stored inside of an absolute view like this var absMap = new AbsoluteLayout { HeightRequest = App.ScreenSize.Height * .35, WidthRequest =...

View Article

Image may be NSFW.
Clik here to view.

Localize splash/launch image for android and iOS

How could you localize the launch image on iOS and android? I know you can edit an image properties on Xcode, but how do you this on Xamarin? (see image below) For android I'm using the tutorial on...

View Article

Image may be NSFW.
Clik here to view.

XF 2.0 with GCM crashes app on KitKat

Hi All I've got myself backed into a corner with seemingly no way out. I upgraded my app to XF 2.0.0.6940, having previously installed Google Play Services (which is currently 27.0.0.0) to get GCM....

View Article


After 1.5+ update along with the packages, I notice now my Android cannot...

I wonder did anybody face this problem with the recent update After I updated my project to 1.5+ and later 2.0 along with the required packages. I notice my Android (IOS is ok) can no longer parse URL...

View Article

Android Scrollview and Keyboard not working correctly with Absolute layout as...

Using Forms 1.3.0 at the moment... OK I have a special hierarchy in my project and stacks and need the keyboard to activate the scroll view correctly however in Android there seems to be a bug because...

View Article


Setting the height of a RelativeLayout?

I have a case where I want the RelativeLayout to only fill half of the screen. Is it possible to set the height of the RelativeLayout? HeightRequest does not seem to do it (for Android at least,...

View Article

invalide cast exception PushAsync ContentPage

Hi all, i have a great problem. I try to run this code: var myPage = new MyPage(); await Navigation.PushAsync(mieGiocatePage); MyPage is a contentPage but i always obtain the exception "specified cast...

View Article


Image may be NSFW.
Clik here to view.

Issue with WebView and orientation change

Hi, I have a strange issue: I created a simple WebView which is added to the center of a relative layout. My view code looks like this: var htmlTest = new WebView { Source = new HtmlWebViewSource() {...

View Article

system.argumentexception: an item with the same key has already been added

I know this is avery general error, but I suddenly cannot debug my xamarin forms application anymore on my iOS device: system.argumentexception: an item with the same key has already been added any...

View Article

Change left bar button in navigation header for a specific page (iOS)?

I would like to change the left bar button in the navigation header in a custom renderer, but only for a given page. Something like this: public class CustomNavigationRenderer : NavigationRenderer {...

View Article
Browsing all 89864 articles
Browse latest View live


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