Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphicalView covers/hides another view in same Layout #442

Open
GoogleCodeExporter opened this issue Jul 4, 2015 · 0 comments
Open

GraphicalView covers/hides another view in same Layout #442

GoogleCodeExporter opened this issue Jul 4, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

This is more of a request for help initially ....
I have an app that is based on multiple Fragments, each Fragment (view) is like 
a separate Tab.  I have a main Layout (multi-fragments layout) 'hosting' the 
individual layouts of the Fragments.    
On the main-Layout, I have another specific small-square view which is a 
SurfaceView for Camera Preview feed (side class is implementing the Camera 
Preview). It is very small (say, 1 x 1 inch) at the top-left corner.  
Within the App implementation, one Fragment is implementing a 
GraphicalView/achartengine view as it is progressing with some data, and then 
rendering/repainting it as needed.   The rest of the Fragments/Classes are 
implementing other View objects (not related to achartengine, non graphic).
What I get is, that all of the non-achartengine Fragments are successfully able 
to treat the small SurfaceView (camera) as a corner-Overlay view (coming from 
the multi-view layout) on top of their individual Layouts, WHEREAS the 
achartengine Fragment entirely hides/covers that SurfaceView. i.e. the 
GraphicalView fills up its entire Layout 'without' considering the SurfaceView 
coming from the main-Layout. i.e. that Fragment can not make the SurfaceView as 
an "Overlay" ..
Practically speaking, as the user is pressing the tabs, it can see the camera 
feed as he/she flips thru the views, but when pressing on the one with the 
Graph then the camera disappears ...
(I hope my description makes sense ...)

"What steps will reproduce the problem?"

follow concept described above.  does not have to be a SurfaceView, can be any 
Layout that you want to program to be in foreground as Overlay on top of the 
Graph view to demonstrate the problem.

"What is the expected output? What do you see instead?"
I need the ability to have a small (much smaller than the graph view) Overlay 
view (of other Layout) while the graph view is active as if it is still in the 
foreground ...
What I get now is that the graph view blindly hides everything ...


"Please provide a source code snippet that we can use to replicate the
issue."


"What version of the product binary library are you using?"
either 1.1.0 or 1.2.0


"Please provide any additional information below."
If you could provide snippet of code in which it is shown that overlay view can 
be implemented, that would be awesome.

Thank you very much !!
Ohad




Original issue reported on code.google.com by ohad.sha...@gmail.com on 10 Oct 2014 at 3:44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant