It really isn't what toasts are for.  There are, however, other options like
PopupWindow.

On Wed, Jun 22, 2011 at 12:06 PM, TreKing <[email protected]> wrote:

> On Tue, Jun 21, 2011 at 12:19 PM, ali ashraf <[email protected]>wrote:
>
>> i have around 14 different XML. In each XML i have 26 buttons all have
>> different positions using "android:layoutAlignLeft="300sp"..." etc
>> Like button1 to button26 are set in such a way that all scatter on the
>> UI. This way i have 14 xml. All XML have the same 26 buttons at
>> different positions. These XML come on the UI randomly i.e at run time
>> it is decided tht which XML will take the UI.
>>
>
> That sounds ... lovely.
>
>
>>  PROBLEM:-
>>
>> as any of the XML gets inflated on the UI and when i click on the button i
>> want a toast exactly on the button.
>>
>
> You can't do that, AFAIK. That is, you cannot specify a location for a
> Toast.
>
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to