Agree with Tre, just would like to point out --

The toast frame nine-patch is available for you to use as:

android:background="@android:drawable/toast_frame"

... and you can make your own toast thing with it, perhaps by using
PopupWindow.

-- Kostya

2011/6/22 TreKing <[email protected]>

> 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
>

-- 
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