Replies: 3 comments 2 replies
-
|
maybe you can create a android class library to store android resources |
Beta Was this translation helpful? Give feedback.
-
|
@nCastle1 Have you dealt with this? I have an issue accessing the Android resource XML via ID. |
Beta Was this translation helpful? Give feedback.
-
|
In my library I added a folder Platforms/Android/Resources/drawable visual studio 2026 insider on .net10 |
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to port a custom control from Xamarin.Forms to MAUI. The control was wrapping Xamarin.Android and Xamarin.iOS implementations of the control.
Porting the control to .NET 6+MAUI is going ok, but I can't get anything related to Android resources to work. Even following the same exact pattern as a MAUI project, Visual Studio isn't recognizing xml files in
Platforms/Android/Resources/*asAndroidResource, and I can't manually change that.I might just rewrite the layout in code, but that doesn't work as well for things like drawables.
Beta Was this translation helpful? Give feedback.
All reactions