Most voted "xamarin-forms" questions
Xamarin.Forms is a cross-platform UI toolkit that allows developers to easily create native user interface layouts that can be shared between Android, iOS and Windows Phone.
Learn more…236 questions
Sort by count of
-
1
votes1
answer249
viewsWrong date format on Xamarin Forms, how to resolve?
In my mobile application I have a part that I recover the local date and time, so the date is bringing first the month, then the day and for last year, how to change this, here is my code: In my…
-
1
votes0
answers38
viewsXamarin - Toolbaritems
In the application I have 2 Toolbaritem items (ToolbarItem Name="Digitar" Activated="Digitar" ToolbarItem Name="Procurar" Icon="procurar48.png" Activated="Procurar"), the first is a word and the…
xamarin-formsasked 6 years, 8 months ago Marcos Souza 11 -
1
votes1
answer259
viewsXamarin - Hamburger Some Menu by clicking Back WP button
I am using the code below to create a Master Detail menu in Xamarin. The code works perfectly on Android but on Windows Phone it has a bug that I am unable to solve. Mainpage.Cs using…
-
1
votes1
answer220
viewsBack Button does not appear in Navigationbar Xamarinforms
I have a Hamburguer Menu with a Listview where in the click of the listview line I call this method to open a Modal, but the Navigationbar does not appear the Backbutton. public async Task…
c# visual-studio xamarin xamarin-forms xamarin.androidasked 6 years, 8 months ago Lucas Riechelmann Ramos 521 -
1
votes1
answer82
viewsXamarin Forms is removing the space between words at runtime
I’m working on a project with Xamarin Forms Visual Studio. When running the project for iOS, it works perfectly, but when running the same project for Android the phrases appear all together. Ex.:…
-
1
votes2
answers52
viewsLoading when searching JSON
I need to create a "Loading" when I click on a search button for JSON information on a site. Loading needs to be in the middle of the screen. Code: <?xml version="1.0" encoding="utf-8" ?>…
-
1
votes1
answer25
viewsError while receiving Picker content
I have a client register and I need to change the registration of the same at some point, but to make the change I have to deal with a Picker field, only it is a mistake when I try to bring the…
-
1
votes1
answer325
viewsXamarin Forms - Error CS1061
How to resolve the error CS1061 in the code below: Code to open a local webview on each Xamarin.Forms platform public partial class MapViewDetail : ContentPage { public interface IBaseUrl { string…
-
1
votes1
answer348
viewsXamarin Forms Android - Change Toolbar Background
I’m trying to change the background color of Toolbar Android, in a Xamarin Forms application. Expected result: Current Result: Styles.xml <resources> <style name="MyTheme"…
-
1
votes1
answer120
viewsMoney mask
I need to have in an entry a money mask, I’m trying some things I got information, follows: void lanceMask(object sender, EventArgs e) { var ev = e as TextChangedEventArgs; if (ev.NewTextValue !=…
-
1
votes1
answer309
viewsSpace and color between Viewcell in a Listview
I would like to help because I’m not being able to leave the way I hope, there’s more space between colors. The gray is the background I put in and the yellow is being filled in by Binding. The red…
-
1
votes1
answer86
viewsAccess carouselview inside a listview
I have a ListView and within it I have a CarouselView by the name of CarrosselDeImagens, but in code Behind I can’t access the CarouselView. Kind of: CarrosselDeImagens.ItemSource = listaImagens.…
-
1
votes1
answer58
viewsListview Item Xamarin Forms being opened 2 times Custom Controls
When displaying my list and clicking on an item, it opens 2 times the same item page. public class DeliveryViewModel : BaseViewModel { public ObservableCollection<Delivery> Delivery_Col { get;…
-
1
votes1
answer396
viewsGrid with spacing and Boxview
I am learning to use Grid and I have three questions in my project that even in tests or when following tutorials did not get good results in practice since I always saw being tested with Boxview:…
-
1
votes1
answer177
viewsUser alert message - Xamarin.Forms
I am working with Xamarin.Forms, I have a method in one of my Viewmodel that searches in a web service a list of Objects and later these objects are displayed in a View, so far everything works…
xamarin-formsasked 6 years, 5 months ago Q.Wesley 405 -
1
votes1
answer413
viewsXamarin Forms error
Good afternoon Personal, I am trying to compile my project in Xamarin Forms and this giving error: Gravidade Código Descrição Projeto Arquivo Linha Estado de Supressão Erro ***Falha inesperada da…
xamarin-formsasked 6 years, 5 months ago Q.Wesley 405 -
1
votes0
answers79
viewsProblem with loading data from local bd to two pickers
Hello. I have two pickers that load data from an api. A Picker brings data from categories and the other subcategory. When selecting a category the Picker subcategory is loaded with data from the…
-
1
votes2
answers144
viewsHow to treat an empty entry?
I have 4 text entries and a button: <Entry x:Name="Densidade" Keyboard="Numeric"/> <Entry x:Name="Volume" Keyboard="Numeric"/> <Entry x:Name="Area" Keyboard="Numeric"/> <Entry…
-
1
votes1
answer232
viewsHow to know if a button has been clicked? Xamarin Forms
I have sometimes needed to know when a button was clicked and did not find a property natively in C#/Xamarin. For example: In this image above we have a Entry with a Text (for example only) written…
-
1
votes0
answers40
viewsAudio Error in Android Virtual Machine
I’m studying a tutorial of Xamarin, and I’m trying to run every step of it on two different machines, only in one of them the emulator closes with the following error: Device error: audio: Failed to…
-
1
votes1
answer34
viewsSearch button of my project not appearing
I have in one of my screens a peculiar problem, is not appearing the search search on one of the smartphones, but in others and in Genymotion appear. Note: Apparatus 1 = Galaxy Note 5, apparatus 2 =…
xamarin-formsasked 6 years, 3 months ago Deivid Souza 407 -
1
votes1
answer481
viewsError "Signature (Return type) of Eventhandler..."
Making a mistake: Signature (Return type) of Eventhandler "Foodsuppy.Tela.Solicitacaocompra.Btnincluir_clicked" doesn’t match the Event type Foodsuppy. My app buttons started giving this message…
-
1
votes0
answers222
viewsView All Columns from an Sqlite Table using Bindig
Forms, I would like to know how to display all table columns of a Sqlite database, using Binding and Listview. I’m using Visual Studio 2017, the latest version with Android. All the features of…
-
1
votes1
answer122
viewsHow to define a color using the <Color/> element of Xamarin Forms within a Resourcedictionary
Hello, I’m following you this tutorial and, starting from what it shows along with the Xamarin.Forms documentation, I can create a Resource Dictionary as follows: <?xml version="1.0"…
-
1
votes1
answer59
viewsBinding with Customcontrol is not working
I created a Customcontrol but creating a Bindingproperty I cannot perform a Binding Custom Control XAML code <ContentView xmlns="http://xamarin.com/schemas/2014/forms"…
-
1
votes1
answer364
viewsError in the shaman saying that the type was not found
In my shampoo I have: <?xml version="1.0" encoding="utf-8" ?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"…
-
1
votes1
answer54
viewsError during Page Deletion - Xamarin
I’m new to mobile programming, so I wanted a help to treat an error that seems not set by the IDE (Visual Studio). The case is that I have a screen that wanted to insert that carousel with…
-
1
votes1
answer98
viewsResolvelibraryprojectimports error in Xamarin
Good afternoon, I went to compile the APP I’m creating with Xamarin and I’m having the following error: Unexpected failure of "Resolvelibraryprojectimports" task. I already cleaned the solution,…
-
1
votes1
answer86
viewsXamarin-Forms - Listview expansive
I have a database to create a menu, in this I have three tables: 1 - Types of menu 2 - Groups of the menu 3 - Menu options This database will be updated and consulted by a WEB API that has already…
-
1
votes0
answers19
viewsI can’t write a file with usb otg
I can read the files in the pen drive folder, but I can’t write. This is the code I use to try to write: string path = "./storage/A691-92EC"; string file1 = "usb.txt"; if (Directory.Exists(path)) {…
xamarin-formsasked 5 years, 3 months ago Jussi 7Virtual 11 -
1
votes0
answers87
viewsC# - Application in Xamarin causing slowness after some time
Hello, All right? I am creating an application in Xamarin Forms, however I am having some problems of slowness. In this application, I use a lot of parallel processing, and the application works…
-
1
votes1
answer107
viewsHow to use Commandparameter in Xamarin.Forms?
Good afternoon. I have a button that is mounted as follows: <ImageButton Source="{local:EmbeddedImage ResourceId=CreativeAutoMobile.Midia.btnfoto.png}" BackgroundColor="#c3c3c3" WidthRequest="50"…
-
1
votes1
answer110
viewsXamarin Firebase Auth does not install by Nuget
Good morning friends. I’m starting a project in Xamarin Forms for iOS and Android, and will use Firebase for Authentication (Xamarin.Firebase.Auth). But when selecting in the package manager (Nuget)…
-
1
votes1
answer225
viewsHow to compress images in Xamarin.Forms?
I am developing an application in Xamarin.Forms that uses the camera of the mobile phone to capture images, however, depending on the client’s mobile the image can reach up to 12MB, this is too much…
-
0
votes1
answer298
viewsHalf Gauge (Half Fleece) for Xamarin Forms
I need to build a half-circle gauge using Xamarin forms, paid controls do not meet because they only have Circular Gauges. It is even possible to display as half-circle, but wastes essential part of…
-
0
votes0
answers297
viewsXamarin Cross menu hamburger iOS and Android!
I created an Xamarin Forms Portable project after I created a class with the drop-down menu, I would like to know how to align the Xamarin image in the center, because I am not getting it using…
-
0
votes2
answers304
viewsHow to access an HTML page and return your HTML using Xamarin.Forms?
I would like to know how I can access a page, example Uol.com.br, and return your HTML. Along with this return try to use regular expressions with this HTML.
-
0
votes1
answer155
viewsPlace image in Picker Xamarin Forms
How do I place an image on the right side of the Picker (Dropdownlist) so that you can differentiate from other fields Entry, to have an appearance of a selection object ? <Picker…
-
0
votes1
answer145
viewsComparative Xamarin.Forms Portable or Shared
Mobile development with Xamarin.Forms provides two approaches: Portable: Create a Portable Class Library (PCL) that targets platforms that you want to support and use Interfaces to provide…
-
0
votes1
answer249
viewsHow to use an iOS simulator in a Windows 10 environment for a Xamarin.Forms iOS project
What I need to install to publish a Xamarin.Forms.iOS project in an iOS simulator? I’m using a machine with: Windows 10 Visual Studio 2015 Whenever I try to run some Xamarin.Forms.iOS project a…
-
0
votes0
answers238
viewsXamarin.Forms Android Error - new Httpclient()
This error (image) appears whenever you arrive on this line: using (var client = new HttpClient()) This is the complete code. using Newtonsoft.Json; using System; using System.Collections; using…
-
0
votes0
answers115
viewsProblems with layout in previous versions of android Xamarin Cross Platform
I am compiling the application in the marshmallow version 6.0 and open everything right. But, when compiling in some previous versions (for example in version 5.0.2 Lollipop and 4.4.2 Kitkat), the…
-
0
votes1
answer1502
viewsHow to create a rounded button in Xamarin.Forms
I’m needing to create a rounded button in Xamarin.Forms similar to the main one of the material design, but without losing the properties of a conventional button and without losing the feature of…
-
0
votes0
answers80
viewsHow to internationalize a Xamarin Forms (Shared Project) application?
How do I create Resources in a Xamarin Forms application using the Shared Project methodology? I searched for several examples and they all explain and have demos for Portable versions. I tried…
xamarin xamarin-forms internationalizationasked 7 years, 6 months ago Elexsandro Rangel dos Santos 534 -
0
votes1
answer210
viewsIntellisense Xamarin Forms does not work - Visual Studio Enterprise with Update 3
I installed VS with Xamarin but Intellisense in XAML files is not working properly. In some parts of the code it shows the list of suggestions as image below. But in other parts of the code it does…
-
0
votes1
answer228
viewsView photo in Toolbaritem Xamarin Forms
I need to display the photo on the right side of the menu with the ToolbarItem. I return the photo from the database to the property "Photo" type string. Convert the photo string to Base64 and…
-
0
votes1
answer127
viewsUse Droid project class in PCL Xamarin Forms
How do I use a class that was created in the project Droid in the PCL ? I created a new class that will save the image in a folder in the project, but I need to call this class PCL. My class:…
-
0
votes3
answers1520
viewsCan I use an iPhone to test a Xamarin app?
I’m learning to develop with Xamarin (Using VS 2015 and Windows). To test the app on Android is quiet, I use Genymotion. And on IOS? How can I test? Only with a physical iPhone ? Or is there an IOS…
-
0
votes0
answers42
viewsShaman error after deploy
I made a simple app that reads a barcode and inserts it into a base sqlite. When I am in debug, it works perfectly, it saves the data, etc... But when I release, disconnect the phone from the…
-
0
votes0
answers69
viewsXamarin Forms closes in Relase
I have a problem. my application works in debug however, in release it opens the splash screen and closes presenting an error on the screen: "application stopped" below this the output application.…