yingminisize / droidar

Automatically exported from code.google.com/p/droidar
0 stars 0 forks source link

Add my own view to the overlay #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I implemented the "_e1_addElementsToOverlay" method in my own setup class, and 
I want to draw a rectangle on the screen in my view instance. 

Here is the code:
public void _e1_addElementsToOverlay( FrameLayout overlayView, Activity 
activity ) {

        overlayView.addView( new FrontSightView( activity ) );
        super._e1_addElementsToOverlay( overlayView, activity );
    }

The FrontSightView works fine in a normal Android activity. However, it does 
nothing in the ar case. Do you have any clue?
Thanks a million!

Original issue reported on code.google.com by glc12...@gmail.com on 23 Oct 2011 at 2:21

GoogleCodeExporter commented 9 years ago
Sorry, I think I have figured it out, already, it's just the position that went 
our of range. It is a silly mistake.

Original comment by glc12...@gmail.com on 23 Oct 2011 at 3:44

GoogleCodeExporter commented 9 years ago

Original comment by simon.heinen on 7 Nov 2011 at 11:38