You can hide and show a View by setVisibility to GONE and VISIBLE. Thanks and Regards, Kumar Bibek
On Mar 25, 3:15 pm, Latha Shivanna <[email protected]> wrote: > Hi All, > > In one of my applications i have 2 views(1 surfaceview and 1 > videoview). And my main requirement now is > > to disable videoview( & its corresponding surface obtained thru > videoview->getholder->getsurface()) when i dont need it. > > The reason for me to do this, > > I have created these 2 views in the beginning of the app. SO they are > always present. > But in some cases where i want only 1 view(which is surfaceview) and > if i dont need the 2nd view(i.e, videoview), i am still getting a > black patch at the palce where i have defned a videoview. > > I want to get rid of this. > > Can anyone please tell me if it is possible to disable views/surfaces > corresponding to them? If so how can we do this? > > Please do advise. Your help is very much needed. > > thanks, > Latha. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

