Saturday, June 30, 2012

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

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.

At the moment it looks to me as if I need to create a fallback solution for API level 16 and above which will put the title and the WebView into a ScrollView. This will be the first time, that a newer android version will bring a worse user experience to my users :-(

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