How to reference an object in a lower fragment in android

Posted by Silas Greenback on Stack Overflow See other posts from Stack Overflow or by Silas Greenback
Published on 2012-06-25T19:37:52Z Indexed on 2012/06/25 21:16 UTC
Read the original article Hit count: 189

Filed under:
|

I am trying to build a help screen that is going to go on a mediaplayer. The idea is to put a fragment with a transparent theme on top of the current view. (See How do I create a help overlay like you see in a few Android apps and ICS? for the basic idea). Now, I understand the steps in the mentioned link, but how do I connect the circles and arrows and paragraphs next to each one (explaining what each one was) to the lower object? Example, I have an object:

R.id.music_button

and I want there to be and arrow that points to music button. Trying to support as many devices as we do it will be very difficult to just draw a few pictures as part of the top layout and expect them to line up. Again, how do I reference an object on a fragment below the top level?

Thanks

© Stack Overflow or respective owner

Related posts about android

Related posts about android-fragments