I'm trying to figure out how to put a compass on a map view in a xamarin android application. I wrote (copied from your github example) this code, and went as far as to create a compass.png file in the Drawables resource directory.
In the Activity:
_compass = FindViewById<Compass>(Resource.Id.compass);
_compass.GeoView = _mapFrag.MyMapView;
_compass.AutoHide = false;
I'll be the first to admit that markup is not my forte. I've been scouring the Internet for documentation (I know, it's a dirty word). I've come up with a bunch of sites and documents that brag about a Compass control, and a github with compass code drowning in some larger (demonstration) project that I can't sort out.
The FindViewById returns null.
VisualStudio 19 / Windoze 10 / Xamarin Android
Esri.ArcGISRuntime => v100.6.0
Esri.ArcGISRuntime.Toolkit => v100.4.0
Esri.ArcGISRuntime.Xamarin.Android => v100.6.0
(note: I tried at some point in the past to bring all the libraries up to date, and it broke something else in the project)
Any help working this out would be appreciated. Thanks.