More Mono for android (Xamarin.Android) little tips.
Mono for android or Xamarin.Android little tips:
- If you turn on GPU emulation, sometimes GPU emulation doesn’t actually start, it downgrades to software rendering, this makes the emulator slower and it doesn’t actually uses OpenGL(if you are using monogame, this means your game would probably not work).
- If you are looking for a grid like component that stretches with a fix number of grids, I couldn’t find one. Had to write my own and the code is ugly .
- You can use ScreenOrientation = ScreenOrientation.Portrait as an attribute in your activity and ConfigurationChanges = ConfigChanges.Orientation is also an activity attribute that prevents the activity from restarting when orientation changes.
Xamarin just announced support for C# 5 features in the mobiles suites, very exciting news… more details here.
Tomorrow, post about monogame stuff.
Filed under: mobile dev, mono for android, UI | 2 Comments
Tags: mono for android, xamarin for android