[mono-android] Position Text

Canning simon at wizbiz.net.nz
Thu Nov 22 10:12:51 UTC 2012


I have this code:

String text = “example toast text!”;
Toast toast = Toast.makeText(getApplicationContext(), text,
Toast.LENGTH_SHORT);

/* Positioning your Toast */
int offsetX = 0, offsetY = 0;
toast.setGravity(Gravity.TOP, offsetX, offsetY);
toast.show();

How do I find the offset of each display overlay item on a Google Maps
application where each item is a marker?



--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Position-Text-tp5712451p5712469.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list