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

Native Facebook SDK: How to use LoginButton?

Well title explains it all. I want to use native sdk for facebook using custom renderers. But the getting started is only telling how do it with LoginButton. How am I supposed to use the LoginButton...

View Article


MasterDetailPage MasterBehavior not being respected

When testing my app under a 10" tablet (Asus Transformer Pad K101), the MasterBehavior (SplitOnLandscape) is being respected, and the app is behaving as expected. However, when running the device on a...

View Article


Entry Bottom Line

I want to add bottom lines to my entries. In android a line already appears. But I couldn't found a way to change it's color. 1)How can I change the color of the line that appears in Entries on...

View Article

Image Click event

Can we achieve the click/touch event on the Image using Xamarin.Forms?

View Article

Can i have multiple ItemTemplate for the Listview which holds different...

Hi all, I have an requirement where I wanted to have an different layout for the ViewCell in the ListView that too it will be created dynamically.How can I achieve multiple item template for each item...

View Article


Using PopAsync to pop two or more pages at once?

I have created a Forms Shared Project solution and have multiple pages that go Page1 to Page2 to Page3 to Page4. From Page4 I want to pop out to Page1 or Page2 on the click of a button. But anything I...

View Article

Hide the toolbar items in windows phone with xamarin forms

Hello I have a class that inherits fomr contentPage, that contains a ToolbarItem: if (Device.OS == TargetPlatform.WinPhone) { toolbarItem = new ToolbarItem("Add", "add.png", () => { }, 0, 0); }...

View Article

Image may be NSFW.
Clik here to view.

Customizing Entry borders

Hello guys ! I am making an app using Xamarin.Forms and I am trying to make an entry with invisible borders. I set the background color of the entry to be the same as the background color of the...

View Article


Multiselect ListViews

I am new to Xamarin Forms and was wondering if we could build Multiselect Listviews using Xamarin Forms. Any help would be appreciated.

View Article


Image may be NSFW.
Clik here to view.

WebView rendering when not Visible

Hi All, I have a WebView that is not visible when the page is displayed. Visibility is set when tapping a StackLayout gesture. The WebView source is using a HtmlWebViewSource converter. When the...

View Article

Image may be NSFW.
Clik here to view.

Android app crashing on device

Android app (Xamarin.Forms-PCL) is crashing or force close on device. While debugging through break point near global::Xamarin.Forms.Forms.Init(this, bundle); force close is happening.Please help me....

View Article

Possible to embed the Focused view of a timepicker on a page?

For Android / iOS I'm wondering if it's possible to have the "Focused" view of a timepicker embedded into another view or straight onto a ContentPage. Basically so there's no dialog popup and the...

View Article

Setting switch width

Hi guys, I'm using a custom renderer to change the drawable used for the thumb and track parts of a switch on Android. However, the drawable is an oval shape, very similar to the native look of an iOS...

View Article


Showing the Camera in Xamarin Forms on a ContentPage

I'm currently working on an app where we want to have the camera show on the main page and have some UI controls at the bottom and via a button there you can take a picture. It is working on iOS via a...

View Article

Build parameters

Hi, I like to know if it's possible to set some build parameters for a Xamarin Forms project. My need is to have a reusable application, in function of some parameters set on the project i will load...

View Article


ListView ItemSource and SelectedItem

I have a xaml based app where a listview gets populated via ItemsSource and the SelectedItem is binded with an initial value. When the listview shows up the first time, the SelectedItem doesn't get...

View Article

Image buttons

I'm having issues with image-only buttons on iOS such that the images are distorted. It seems that the width of the button is "correct" but the image only takes up half of the available space and is...

View Article


Button.Image - Sizing of button to size of image not working in IOS

Really simple problem. Android will properly set the size of the Button to the size of the Image. iOS does not. Is this a known issue? Setting the LayoutOptions of the Button doesn't change anything...

View Article

Getting a grid of buttons without the spacing in between.

What do I need to do to avoid the default spacing between two buttons? I have tried setting padding to 0, BorderWidth etc. I am using Grid like this: in ctor: InitializeComponent(); var grid = new Grid...

View Article

ProgressBar height changed but now width is messed up

Hi everybody, I created a custom renderer to increase the height of my progress bar which works fine, the code is below, public class CustomProgressBariOs: ProgressBarRenderer { protected override void...

View Article
Browsing all 91519 articles
Browse latest View live


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