1. Download our Official Android App: Forums for Android!

Apps UI Scale different in Studio vs device

Discussion in 'Android Development' started by Andyfilms, Sep 30, 2019.

  1. Andyfilms

    Andyfilms Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    1
    Joined:
    Sep 30, 2019

    Sep 30, 2019
    1
    0
    15
    Hi all! I'm new to Android dev, but I have an issue which I feel must be something simple I'm overlooking.



    I have my device set up (a Technexion dev board) and the resolution of the virtual device is set to match the resolution of the screen, yet there appears to be a huge discrepancy between the two.

    Photos attached, but you can see that in Studio, everything appears far larger than it does on the real device--again, despite the res of the AVD being configured correctly.

    Any help appreciated!
     

    Attached Files:


    Advertisement

  2. wseng92

    wseng92 Android Enthusiast
    Rank:
     #163
    Points:
    73
    Posts:
    250
    Joined:
    Oct 26, 2015

    Oct 26, 2015
    250
    47
    73
    Male
    I would suggest you use ConstraintLayout.
     
    ahmadusman0091 likes this.

Share This Page

Loading...