Category "xamarin.android"

Resource style not found even though I already remove it and not using in Styles.xml

I created this in Styles.xml <style name="Content.Right"> <item name="android:paddingTop">60dp</item> <item name="android:paddingLe

How to solve the Galaxy numeric keyboard nightmare

I've been struggling with the Samsung Galaxy numeric keyboard decimal separator nightmare. I have an Entry on which I must only accept numeric values (including

How do I define and use IOn[X]SetListenerImplementor

I am reading through the source code for Xamarin and came across these two dialogs: the TimePickerDialog and DatePickerDialog. When reading through these, I see

OidcClient.LoginAsync in Xamarin Android caching the login information

In Xamarin.Forms application, I am doing login through OidcClient, I am facing one issue with Android. After the first successful login, the user does not go th

Cant create an alarm in Xamerin Android C#

Copied my teacher's simplified code in order to see if the code i wrote was wrong or somthing yet even her's isnt working. Here is it: private void BtnAlarm_Cli

Azure B2C broken when explicitly-declared value for android:exported is used

My Xamarin.Forms application uses Azure AD B2C for authentication. Currently, I have to use Android 12 instead of Android 10. According to the documentation, it

Error CS0246 The type or namespace name 'Androidx' could not be found (are you missing a using directive or an assembly reference?)

I am migrating Xamarin.Android application from Andorid 9 to Android 10. I have updated all the support packages to Andoridx packages. In .axml files after chan

Error CS0246 The type or namespace name 'Androidx' could not be found (are you missing a using directive or an assembly reference?)

I am migrating Xamarin.Android application from Andorid 9 to Android 10. I have updated all the support packages to Andoridx packages. In .axml files after chan

Convert a short DateTime string with date and time to DateTime

Having trouble with my Android project here trying to convert a string of DateTime into an actual DateTime object. here's the code I wrote: string strDateTime =

How to dynamically add/remove back button from a page that's already been constructed in XamarinForms.Android?

Our team is currently implementing some UI/UX improvements to standardize how a user saves/cancels any changes made while editing data in our app; and I've got

DisplayPromptAsync is unable to disallow suggestions in Xamarin on Android

I have a working Xamarin Forms app for Android, UWP and one of these days, iOS. I ask the user to type a userid in a DisplayPromptAsync() and I would like to di

Xamarin forms android throw null exception after updating Xamarin forms to 5.0.0.2401

I have updated Xamarin Forms to latest version(5.0.0.2401). It is working fine in iOS. In android first it returns Error: Could not find 2 Android X assemblies,

Share APK via Azure DevOps public link

I have setup Azure DevOps CI/CD in my project. I want to share APK artifact to someone else via public link. Via artifact link, it requires credentials. Anyone

Xamarin MAUI application not shows correct output

I have downloaded Visual Studio 2022 Professional (preview) version from MS Document. Also I have followed the other steps to create first sample application us

attribute barrierMargin (aka com.example.myapp:barrierMargin) not found

After updating xamarin.forms version to 5.0.2244 facing attribute barrierMargin (aka com.example.myapp:barrierMargin) not found myapp.Android\obj\Debug\100\lp\1

How can I open app when screen is off from foreground service?

Android: 11 NETStandard.Library: 2.0.3 Xamarin.Forms: 5.0.0.2012 Permissions(i tried): "android.permission.FOREGROUND_SERVICE" "android.permission.INSTANT_APP_F

What does 'minifyEnabled=true' do when all configuration options are disabled?

I have a complicated build setup for an android app which basically consists of a normal android app fused together with a Xamarin/Mono project in order to incl

Android Play integrity api samples possibly xamarin

I am looking for way to secure my apps in both Android and iOS. Android Noticed that there is this new api Play Integrity Api I am looking for any example on us

Is it possible to put background image and curved corner in a button in xamarin android?

I am trying to input an image in a regular button, however it does not show up. My code looks like this <Button android:text="@string/buttonexit"

How to get selected item in Xamarin

I have a Picker in Xamarin and I want to pass the selected item in Picker to the another page(TablePage). Below this Picker there is a button and whenever it is