Tuesday, February 7, 2012

[android-developers] Android ICS 4.0 Placing Flash WebView into full screen calls hideAll Method?

android.webkit.PluginFullScreenHolder

http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.0.1_r1/android/webkit/PluginFullScreenHolder.java#PluginFullScreenHolder.setContentView%28android.view.View%29

public void show() {
// Other plugins may attempt to draw so hide them while we're
active.
if (mWebView.getViewManager() != null)
mWebView.getViewManager().hideAll();

WebChromeClient client = mWebView.getWebChromeClient();
client.onShowCustomView(mLayout, mOrientation, mCallback);
}

void hideAll() {
if (mHidden) {
return;
}
for (ChildView v : mChildren) {
v.mView.setVisibility(View.GONE);
}
mHidden = true;
}

Its basically hiding my whole WebView on full screen selection now
this does not happen in the default browser and this methods are not
accessible. How can I fix this?

Best Regards

David

--
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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate