Questions tagged [maui-android]
40 questions
2
votes
0 answers
.Net Maui Slow Loading CollectionView and UI Tree structure
So I set out to do a simple interface with a search field, a couple of "tabs" that represent data categories and a CollectionView to show the data as the figure below
During development I noticed that when I set a tab that had more data, the…

Safin Ahmed
- 560
- 4
- 12
1
vote
1 answer
How can i use UsageStatsManager in .NET MAUI
I try to use UsageStatsManager in .NET MAUI.
I asked for permission but I can't get it. It's always denied and of course the stats does not return any values.
private async Task CheckPermissions()
{
PermissionStatus status =…

piferrari
- 139
- 9
1
vote
1 answer
Troubleshooting Release Build Error in .NET MAUI Application for Android
I am building a .NET MAUI application using .NET version 7.0.306(x64) and Visual Studio 2022 version 17.6.5. I believe these are the latest versions. Currently, I am focusing on Android.
The Problem:
In debug mode, the application works flawlessly.…

AllramEst
- 1,319
- 4
- 23
- 47
1
vote
1 answer
Maui Platform namespace is not recognised
I am implementing a project in my Maui app to display a pointer over buttons and links on Windows. (vladislavantonyuk.github.io/articles/Setting-a-cursor-for-.NET-MAUI-VisualElement/)
At the class CursorBehavior I need to import the platform…

Frank Mehlhop
- 1,480
- 4
- 25
- 48
1
vote
0 answers
Invisible buttons when using Dot Net Maui Handler
Following the documentation here, I created a handler to set the horizontal content alignment on a button
This is the shared platform partial class:
public partial class IconButtonHandler
{
public static IPropertyMapper

Adam Diament
- 4,290
- 3
- 34
- 55
1
vote
0 answers
Weird Modal page behaviour when typing on and manually dismissing the keyboard (.NET MAUI Android)
I am creating a vegetation monitoring application that I have been developing in MAUI for the firs time. In Xamarin forms, I did not encounter this problem. I have a data entry form as can be seen below:
The data entry form
When I the proceed to…

Fanie Lombard
- 11
- 1
1
vote
0 answers
.NET MAUI 7: How to set font for some 'special' elements? Or set a global font? (for dialogues, calendar, flyout tabbar, context menu button)
in our .NET MAUI 7 Android App, we've added a custom font and attach it to all possible elements. However, there are some elements for which we have not yet found a way to change the font:
Dialogues
example 1
example 2
Calendar
example
Flyout Bottom…

David
- 21
- 2
1
vote
0 answers
.Net Maui Android Community Toolkit Observable Object not available
Im building an .net maui ios and android app, i tried to implement the Maui Community Toolkit.MVVM. After that i wanted to use the Observable Object (Picture below). But VS tells me that net7.0-android isnt supporting that, any help…

Pascal
- 79
- 1
- 5
1
vote
1 answer
Why does NET MAUI handle screen rotations itself?
I created a NET MAU app from the official template and inside Platforms - Android - MainActivity.cs found this code:
[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize |…

stefan.at.kotlin
- 15,347
- 38
- 147
- 270
1
vote
1 answer
Why is FlexLayout not scrolling?
Consider the two .NET MAUI (Android) pages below:
Page 1:
1
vote
1 answer
.NET MAUI Android button pressed effect
Is there a way to change the pressed effect of a button on Android in a .NET MAUI project. Now it is showing a dark ripple effect when dark mode is on and a white ripple effect when the light mode is on.
I would like to have the same ripple color…

giani.sim
- 257
- 2
- 16
0
votes
0 answers
Is there a way to connect to a specific WiFi network in dotnet Maui?
I am creating an app which needs to connect to a device that is running a WiFi hotspot. However, to make this more user-friendly, I would like to make the app connect to the hotspot on the user's behalf.
For example, when the app starts, the user…

Oli
- 1
0
votes
0 answers
TabBar in .NET MAUI shell app is behind on-screen bottom toolbar
I have a MAUI app targeting Android. Im using shell navigation together w/ a TabBar like this:

Peter Rundqvist
- 275
- 3
- 18
0
votes
1 answer
How to stop a Foregrounded Android UI from being Terminated?
If a foregrounded Android app is selected and swiped up to terminate the app in the windows tab, the background app continues to execute, and the UI window destroyed. Trying to generate a new window or popup, the app encounters an error. Is there a…

Marc George
- 134
- 1
- 18
0
votes
1 answer
Can we Replace MAUI Application on Existing Android Play Store Application which built on Xamarin.Forms?
I've an Application on Android Play Store which is built in Xamarin.Forms, now I've Developed a newly upgraded application on the MAUI Platform. Can I Replace the Existing Xamarin application with a new MAUI Application on Google Play Store…

Parmar
- 1
- 2