So the physical device we are targeting is 800h x 480w. When I run the app on that device Xamarin.Essentials.DeviceDisplay.MainDisplayInfo reports height=800, Width=480, Density=1.5 (What does that even mean, anyway? Density? Density of what? Pixels? And how does it come to 1.5? How can you have 1.5 pixels?)
However I want to be able to run on the emulator with the exact same "display", so that all the fonts, and alignments etc. look right. So I create an emulator image with hw.lcd.height=800, hw.lcd.width=480 , and hw.lcd.density=240 (which for some perplexing reason causes the density reported by xamarin.essentials to be 1.5)
The problem is that now I have this giant high-res device that is reported (by xamarin.essentials) to be 1920 high by 1080 wide! Why does it do this, when I have specifically stated to use 800h and 480w?