Problem with StackLayout and Label tail truncation
Time label is clipped, while it should not: https://monosnap.com/file/2Gpp3PkcDfQi5NR6q3Ys5XprHE5zLI Here is the code: <StackLayout Orientation="Horizontal" Spacing="5" Padding="12, 6, 12, 3">...
View ArticleChange toolbar 3 dot icon and how to get secondary toolbar items under a...
Hi, I have a toolbar that contains 4 secondary toolbar item. There is a 3 dot icon (which is by default), by clicking on which the toolbar dropdown opens. I want to replace the 3 dot icon with an icon...
View ArticleHow can I hide the iOS status bar in landscape pages in iOS 7?
I have a forms app that I force a page to landscape. This part is (finally) working properly on an actual device. But, testing on iOS 7 I realized that the status bar displays while on 8+ it does not...
View ArticleAdditional Content in a custom Xamarin.Forms Control (XAML)
If a custom control is created with content, is there any way to specify additional content: (Example here StatusView is a ContentView with a Grid for its Content) I would like to take whatever...
View ArticleI want to develop an Xamarin.Forms app using the iOS indie version...
I want to develop an Xamarin.Forms app using the iOS indie version and when I am almost finished I want to build the Android version. Is that possible? Is there a better suggestion for a developer on a...
View ArticleAfter changing from FormsApplicationActivity to FormsAppCompatActivity some...
Hi! I changed my MainActivity to use FormsAppCompatActivity to be able to support Android 6.0 Runtime Permission, which was pretty messy to fix in Xamarin Forms. When I did this, I had to change my...
View ArticleIs it possible to POST data to a WebView?
In Xamarin Android, and also something similar in iOS, it's possible to perform a PostURL with given POST content. This allows you to pre-fill form data or dynamically load a webpage with POSTed...
View ArticleDisable second tap on Label
Hi All, I have a label where i am handling the click event using guestures. code below. XAML CODE <Label Text="Click Here" FontSize="Micro"> <Label.GestureRecognizers>...
View ArticleWatermarking an image
I need to be able to add a text watermark to an image basically a date/time stamp. Is there a good cross platform way to do this?
View ArticleBubble up BindableProperty from a child control into parent control
I just can't seem to figure this one out. At the moment I'm building my own component made up of Xamarin.Forms controls, it looks something like this. MyComponent : StackLayout Label Switch I want to...
View ArticleHow to add resources to custom xaml ViewCell
Hi all. As you know in xaml for each content page you can specify it's resource dictionary and use them like this <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"...
View Article[Android] Color.Default based on Context
So in my custom renderer, I have a piece of code that is to update the TextColor of an EditText. private void SetTextColor() { if (Element.TextColor == Color.Default) { var e = new EditText(Context);...
View ArticleXamarin auth and windows phone
Hi, I built the expreminental branch of xamarin auth for Windows phone. I created a pagerenderer in my Windows project and manage to get auth.GetUI(). This is of type Uri. I don't knoz zhqt to do with...
View ArticleAdding a picker in XAML
I'd like to add a picker control that has the values 1,2,3,4,5. I tried the following... <Picker SelectedIndex="{Binding NewCriterion.Importance}" > <Items>...
View ArticleRemove icon from action bar from xamarin forms android project
Hi, Can someone help me in removing icon from action bar ? Thanks, Ashish jha
View ArticleHow to show loading indicator when webview is loading in XF
Hi, I am trying to show a loading indicator while my webview is loading up in XF. I found it's very easy to do with the native API, but not found any correspondent events or such in XF. Could anyone...
View ArticleWPToolkit in Xamarin.Forms
Hello there! Xamarin´s way to show Pickers (Date, Time, or simple Lists) on Windows-Phone is always fullscreen. It does not make much sense to go fullscreen if it only has 2 to 5 or 6 entries. Now...
View ArticleIs it support Multiple resolutions for Android and multiple devices for IOS?
Hello Team, We are planing to use Xamarin.Forms for my below requirement. I have a requirement that, we need to develop the application for both Android and IOS. For Android it should support for any...
View ArticleHow to set Tag for a view inside GetCellCore of CellRenderer ?
I have a Custom CellRenderer ( Android ) for list items in a Xamarin.Forms.ListView. I am trying to create a custom ViewHolder pattern , so that I can get rid of unnecessary view.FindViewById calls....
View ArticleAndroid Project Causing Visual Studio to Hang
I need some help in how to debug this issue. I have recently upgraded to Xamarin 4 and now when I open my Xamarin Forms project it will hang just after initializing the Android project. If I comment...
View Article