зеркало из https://github.com/mono/mail-archives.git
90 строки
2.9 KiB
HTML
90 строки
2.9 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [mono-android] Position Text
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=Re%3A%20%5Bmono-android%5D%20Position%20Text&In-Reply-To=%3C1353579171537-5712469.post%40n5.nabble.com%3E">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<style type="text/css">
|
||
|
pre {
|
||
|
white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
|
||
|
}
|
||
|
</style>
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="012931.html">
|
||
|
<LINK REL="Next" HREF="012928.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[mono-android] Position Text</H1>
|
||
|
<B>Canning</B>
|
||
|
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=Re%3A%20%5Bmono-android%5D%20Position%20Text&In-Reply-To=%3C1353579171537-5712469.post%40n5.nabble.com%3E"
|
||
|
TITLE="[mono-android] Position Text">simon at wizbiz.net.nz
|
||
|
</A><BR>
|
||
|
<I>Thu Nov 22 10:12:51 UTC 2012</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="012931.html">[mono-android] Position Text
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="012928.html">[mono-android] WebRequest unescaping URLs
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#12936">[ date ]</a>
|
||
|
<a href="thread.html#12936">[ thread ]</a>
|
||
|
<a href="subject.html#12936">[ subject ]</a>
|
||
|
<a href="author.html#12936">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>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: <A HREF="http://mono-for-android.1047100.n5.nabble.com/Position-Text-tp5712451p5712469.html">http://mono-for-android.1047100.n5.nabble.com/Position-Text-tp5712451p5712469.html</A>
|
||
|
Sent from the Mono for Android mailing list archive at Nabble.com.
|
||
|
</PRE>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="012931.html">[mono-android] Position Text
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="012928.html">[mono-android] WebRequest unescaping URLs
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#12936">[ date ]</a>
|
||
|
<a href="thread.html#12936">[ thread ]</a>
|
||
|
<a href="subject.html#12936">[ subject ]</a>
|
||
|
<a href="author.html#12936">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
|
||
|
<hr>
|
||
|
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
|
||
|
mailing list</a><br>
|
||
|
</body></html>
|