Wednesday, June 8, 2011

[android-developers] problem with ontouch of surfaceview

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