Category "xamarin.forms"

Fast update Android notification

I write simple audio player for Android. I wrote basic functional and now I want create notification for control audio player. I use Android classes Service and

Resources.UpdateConfiguration is obsolete

I want to prevent system font-size changing, effects to my xamarin forms android application. I tried with below code in MainActivity.cs and its working, but it

Add Gradient background to layouts in Xamarin Forms visual studio

I am a newbie in Xamarin Forms, I create a ContentPage for Menu. I need linear gradient color at its background. But I can't find any link which tell me how to

Button text font size based on the size of the button

I would like to resize the text inside my button based on the size of my button. How can I do it? <Button StyleClass="btnFAF" Text="Field Activity" Grid.Row=

MAUI Shell remove OverScroll from the sides

I've bein workeing on my app. It's useing SwipeView and 9 times out of 10, when I want to swipe the item to remove it - I get this (as I called it) ScrollPrevie

Toast equivalent for Xamarin Forms

Is there any way using Xamarin Forms (not Android or iOS specific) to have a pop-up, like Android does with Toast, that needs no user interaction and goes away

Can't initialize/start emulator after press F5 without starting emulator device VS 2019/2022

If in a new project I start the emulator device and next press F5 the project is showed in the device correctly, but if I miss step one and directly press F5 it

Create a StackLayout inside a Frame in Xamarin Forms using C# as background code

I use an <Frame> in my xaml page like this: <StackLayout> <Frame> <StackLayout> <Button></Button>

System.Net.WebException: Error: NameResolutionFailure when Calling WEBAPI in xamarin forms

I have created one simple xamarin form application using PCL, which is showing data in listview using WEBAPI. When i call WebAPI , i am getting below error. ex

Listview in xamarin form not using full space of form

I am working on Xamarin forms cross platform app. I have a form where i need to show data in listview. Data is displaying but its not using entire space resul

How to create bindable command for custom component in Xamarin.Forms?

I've a custom component where I've button and I'm trying to create a bindable command so that I can perform action based on viewmodel. I've tried few things but

How to place this Label and Image with Xamarin Forms?

I'm trying to learn Xamarin forms and wish to try to do the following: I'm thinking that I need to use a RelativeLayout but I'm struggling to understand how

Need to retrieve images (Varbinary MAX) from SQL Server 2014 to Xamarin by using C#

I am new to the Xamarin platform, I have a local hosted database in SQL Server 2014 using php (with aid of XAMP server) and the table name ItemProductsDB and sa

Xamarin forms : Stop page being accessible from hardware back button

I am using xamarin forms prism. Quick info : I have a page that contains information, this page the user can delete along with its information, this page is an

How do you create Xamarin Forms class hierarchies inheriting from the 'Page' type?

In Xamarin.Forms, I'm trying to create a page that I then subclass, like this: public partial class PageA : ContentPage { public PageA() {InitializeComponent

Display a popup with xamarin forms

I want to display a small popup in a xamarin forms application (iOS/Android PCL) I am actually working with a ContentPage (XAML + C# code) and i am showing th

Add mono.android reference Xamarin.Forms

Im working on a Xamarin.Forms project and I need to work with mono.android things. The problem is that in a project before, I do have the reference, but in the

How to use a Grid with Bindable Layout (more than one column)

In Xamarin.Forms 3.5 Microsoft introduced us to bindable layouts which can be used to dynamically fill layouts (e.g. StackLayout, Grid, etc.). To use this in a

Method 'UIKit.UIApplication.Main' is obsolete: Use the overload with 'Type' instead of 'String' parameters for type safety

After upgrade my Xamarin.Forms version to 5.0.0.2244, I'm getting the following warning in Main.cs file inside my iOS project: Method UIKit.UIApplication.Main