Thursday, June 9, 2011

[android-developers] Re: problem with ontouch of surfaceview

What do you use to hide/show the LinearLayout?
Could you show the onTouch listener for the SurfaceView?

On 9 jun, 06:29, grace <grace.a...@wipro.com> wrote:
> Hi,
>
> I have my layout like this
> <FrameLayout>
>
>        <SurfaveView>
>            <VideoView></VideoView>
>         </SurfaceView>
>
>         <LinearLayout>
>             <ImageView></ImageView>
>             <ImageView></ImageView>
>         </LinearLayout>
>
> </FrameLayout>
>
> I have registered onTouch Listeners for all the views.The LinearLayout
> is made invisible at first(default).
> Now when i touch the surface view the LinearLayout should be made
> visible.
> but somehow its not visible after ontouch also.
>
> When the LinearLayout is visible at first(default),then i can make it
> invisible and visible from the ontouch events.
>
> Can anybody help me on this.Am i missing something.
>
> thanks in advance,
> Grace.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment