Android Question Galaxy S3 doesn't care about "setInitialScale"

Discussion in 'Android Questions' started by coslad, Jun 24, 2015.

  1. coslad

    coslad Active Member Licensed User

    Hi
    i'm becoming crazy , i can't set a web page into a webview as a full width size .
    In attach a little sample , on a Note 3 and on a lot of other phone i get a full width size page , but on a galaxy S3 the same code produce a different layout .
    Even if i set different value of "setInitialScale" parameter i get Always the same result.

    Any Idea ?
     

    Attached Files:

    Last edited: Jun 24, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    Try to change 320 with 320dip.
     
  3. coslad

    coslad Active Member Licensed User

    i did , but nothing !

    The galsxy s3 doesn't change the initial scale , although the "setInitialScale" is :

    Obj1.RunMethod2("setInitialScale", 100, "java.lang.int")
    or
    Obj1.RunMethod2("setInitialScale", 200, "java.lang.int")
    or
    Obj1.RunMethod2("setInitialScale", 400, "java.lang.int")

    insteed the note 3 react to the "setInitialScale".
     
Loading...