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

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

  1. coslad

    coslad Well-Known 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
    peacemaker likes this.
  2. Erel

    Erel Administrator Staff Member Licensed User

    Try to change 320 with 320dip.
     
  3. coslad

    coslad Well-Known 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...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice