Android WebView not respecting scaling percentage...
        Posted  
        
            by fiXedd
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by fiXedd
        
        
        
        Published on 2010-06-11T19:29:55Z
        Indexed on 
            2010/06/11
            19:32 UTC
        
        
        Read the original article
        Hit count: 355
        
I have a WebView which I'm trying to have scale to a certain percent on loading the page. The iPhone version of this software uses the HTML meta-tag:
<meta name="viewport" content="width=320, initial-scale=0.95, maximum-scale=2.0, user-scalable=1">
Since Android's WebView doesn't seem to respect that tag I hard-coded the percent using setInitialScale(). However, the WebView is just flat-out ignoring this method call. No matter what number I put in there it shows at 100%.
Ideas?
© Stack Overflow or respective owner