For your last item, get rid of the wide viewport. Don't know about the rest. 26.07.2012 17:26 пользователь "nishma" <[email protected]> написал:
> Hi, > In the default the email application (ICS), the content of the email is > displayed in a WebView (actual view used is RigidWebview). There are couple > of issues which I am trying to resolve. > 1. As the message view is zoomed in completely, the height of the webview > increases accordingly. After the content is Zoomed-in to the maximum > possible scale, (the webview height grows to some max value) since then, if > we Zoom out the content, the message content is shrunk but the total > WebView height would remain same as the maximum height that was reached > previously. The scroll bars would also be seen as the minimum possible size > with lot of space at the bottom of the view. > Question: How to make the WebView height to shrink after the content is > Zoomed-out? (Note that here the WebView element has "wrap_content" as > height attribute.) > > 2. To make the whole email content visible at as soon as the email is > opened, have used the below methods > mMessageContentView.setInitialScale(1); > mMessageContentView.getSettings().setLoadWithOverviewMode(true); > mMessageContentView.getSettings().setUseWideViewPort(true); > This would get the content in overview or fit-to-screen view but there > would be lot of space in the left and right side of the view. (The Webview > padding left and right is 0). > > Kindly help. > > Thanks in advance, > Nishma > > -- > 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 -- 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

