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

Search Bar in ToolBarItems

Is it possible to use SearchBar in ToolBarItems? I tired it wasnt working. Can anybody help me.

View Article


How to create button pressed effect?

Hello, I need to create a button/image/whatever that changes image while pressed to create the button pressed effect. How can i get to the 'while pressed' state? Even if using custom renderers, i cant...

View Article


Testing in Android - getting an error with the shared runtime

I'm trying to test my XF application in an Android genymotion emulator. Unfortunately, I can't get the application to start. I am getting the following error when I look this up in monitor. This...

View Article

Twilio SMS code works from console, but not from ios app

I am writing a business app on IOS and I need to sent preformed text messages when specific events happen. It looked like it would be reasonably easy to do with Twilio, so that is the direction I went...

View Article

Disable rotation all pages except one

Hi, All the solutions the i found about blocking rotation is global to all pages of the App, but my situation is different I wan't all pages to portrait except one that can be used in portrait or...

View Article


Image may be NSFW.
Clik here to view.

3x3 square grid inside ScrollView

Hello, I am trying to build a 3x3 grid with square images (and a label). I am having a hard time because every attempt I make it results in the "squares" being flattened or stretched. That's my code...

View Article

How to use MasterBehavior in Xamarin Forms

Hi everyone I am facing issue when i am using MasterBehavior getting error can you please guide me how i can use MasterBehavior = MasterBehavior.Split; i want to split my masterdetailpage in ios...

View Article

Running XF app on Android shows CPU usage that does not to 50%

I'm executing a XF app that does lots of operations in a loop and checking performance. I opened a terminal and ran 'adb shell' + 'Top' command to see CPU usage. My app's CPU usage does not go over...

View Article


Retaining page Navigation stack when app is killed

Is there a simple way to retain the current navigation stack of pages in Application.OnSleep to be reinstated in Application.OnResume? I tried the following: protected override void OnSleep () {...

View Article


Remove row from a Grid

Hello, Do you know if it is possible to remove a row from a grid? I've tried myGrid.Children.Remove(myView) but nothing happened. Thanks !

View Article

Listview - Separator do not display while they do when I pull the list

Hi, Create a new Xamarin Forms project. Add a listview as the sole element of your MainPage content. Try in iOS simulator: no separators (while I made them green...). Pull the list and you'll see the...

View Article

FontFamily - is there a list of families that work across platforms?

With the font changes in Xamarin.Forms 1.3, I am re-factoring to get rid of warnings that now appear. Whilst doing this, I was looking at specifying the FontFamily for visual elements, but have failed...

View Article

IOS startup speed problems

Hello I have written an app in xamarin forms. the main page of the app consists of a tabbed page with 3 sub pages in it. when the app starts i want to display a modal to the user first before they get...

View Article


Android Video Player using Xamarin.Forms

I am trying to get a video player working in my Xamarin.Forms app on Android. I have implemented the iOS version using a ScrollViewRenderer where I add the MPMoviePlayerController (code at bottom, file...

View Article

"Aapt" task could not be instantiated

Hi I'm new in this forum, I'm creating application using Xamarin.Forms after building my solution it showing me some messages regarding AndroidManifest.xml & error like "Aapt" task could not be...

View Article


why switch is not displayed in off mode, while the background is in white color?

set Build > General > Target Framework to "Android 5.0.0 (Lollipop)"? please help me, I want to display switch in Lollipop version of android. it not displayed properly . I tried on render like...

View Article

Bluetooth, Monkey.Robotics -- Forms?

Hi, I'm doing some R&D work on connecting to Bluetooth LE devices. I'm also trying out the Xamarin platform at the same time. I'm a little confused on the direction of Xamarin forms as well as the...

View Article


Binding values in custom ViewCell

Hi All, I have to identify which Switch control was toggled to get the Id of the corresponding row. So far I have this kind of implementation which is working as I want, but it is not elegant in my...

View Article

Porting Java code to C# (android-auto-scroll-view-pager github)

Repo: https://github.com/Trinea/android-auto-scroll-view-pager I have been trying to port it into c# but no successful using System; using Java.Lang.Ref; using Java.Lang.Reflect; using Android.Content;...

View Article

XAML / Self binding, bindingcontext

Hello, I want to bind the text property of a editor element to BindableProperty. Here is what I tried: MyForm.xaml <?xml version="1.0" encoding="UTF-8"?> <ContentPage x:Class="Com.Acme.MyForm"...

View Article
Browsing all 77050 articles
Browse latest View live


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