How to remove one Overlay (added) from a OverlayController

Put your problem here if it does not fit any of the other categories.

How to remove one Overlay (added) from a OverlayController

Postby tsdt » Tue Mar 25, 2008 9:34 am

I have two Overlay,but i just want to remove one overlay.I used function deactive(Overlay) but this function sometime not work,the function clear() remove not only one,but two Overlay,not that i need.
Please help me!
thanks in advance.
TSDT
tsdt
Junior Developer
Junior Developer
 
Posts: 12
Joined: Wed Jan 09, 2008 4:20 am
Location: VIETNAM

Top

Postby plusminus » Tue Mar 25, 2008 6:56 pm

Hello tsdt,

the function :darrow: should be working... :?
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. public void deactivate(Overlay o)
  2.  
  3. Deactivates the given overlay. If it has not beed added to a bundle, this may have no effect.
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


If you could verify that it doesn't behave as it is supposed to :arrow: submit an issue to Google.

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby tsdt » Fri Mar 28, 2008 3:37 am

Oh!I used this function(deactivate(Overlay),i wrote wrong-->deactive(Overlay) )...But it 's not work so exactly.
Thanks so much Plus minus.
TSDT
tsdt
Junior Developer
Junior Developer
 
Posts: 12
Joined: Wed Jan 09, 2008 4:20 am
Location: VIETNAM

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests