Saturday, June 30, 2012

Re: [android-developers] WebView.setEmbeddedTitleBar gone in Jelly Bean? Which alternatives?



On Saturday, June 30, 2012 3:39:12 PM UTC-5, sven wrote:
I've already gave the iframe stuff a try in the past, but unfortunately exactly the calculation of the natural width of the iframe-content was the problem.

I would definitely prefer the first option (extending WebView). But just take a look into the old (API Level 14) solution and search for "mTitleBar" or "getTitleHeight" and you will quickly recognized, that this is used in many places which are not reachable from within a derived class.

You would need to re-implement all of this in your own derivative. I'm not sure how far you can go with that, though. Maybe you just need to add your own custom view to the WebView and listen to touch events on the WebView to make it appear.

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