1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android Studio - Infer Constraints?

Discussion in 'Android Development' started by Gleis, Jul 12, 2020.

  1. Gleis

    Gleis Lurker
    Thread Starter

    Hi guys!
    The issue is clear, I design the app, and when I run the emulator the app looks different.
    I use the same device for design and emulator (Pixel 3 XL).
    Apparently I needed to click in one of the attributes on the design page and then click "Infer Constraints".


    I still have some issues, because the button and other attributes are not the same sizes in the emulator.
    Can anyone please explain to me how "Infer Constraints" works ?

    Screenshot_2.png
     

    Attached Files:



    #1 Gleis, Jul 12, 2020
    Last edited by a moderator: Jul 14, 2020
  2. codesplice

    codesplice Elite Recognized Moderator
    Moderator

    Hi @Gleis,

    I've merged your newer thread in to your slightly-older one on the same topic. Keeping development-related discussion in the Android Development subforum will help it get seen by people who can help. (Unfortunately, that's not me... but hopefully one of our resident developers will be able to assist soon.)
     
  3. Gleis

    Gleis Lurker
    Thread Starter

    Hello!
    Well, the best choice would be to delete the old one and keep the new one since I found the solution, but still facing some issues.
    Anyway... thanks!
     
  4. codesplice

    codesplice Elite Recognized Moderator
    Moderator

    Okay, I merged post from your latest thread up to the top of this one so it's like the old one never happened. I also gave the thread a name which might help attract the attention of someone who knows about "Infer Constraints". Hopefully that will help. :)
     
  5. Gleis

    Gleis Lurker
    Thread Starter

    Thank's a lot !:D
     
    codesplice likes this.
Loading...
Similar Threads - Android Studio Infer
  1. Syeda Quratulain
    Replies:
    1
    Views:
    329
  2. Sheraz Ahmed
    Replies:
    0
    Views:
    201
  3. Nieve1
    Replies:
    0
    Views:
    332
  4. docco2020
    Replies:
    1
    Views:
    488
  5. lovingdog
    Replies:
    0
    Views:
    637
  6. emamsa
    Replies:
    0
    Views:
    461
  7. saran ks
    Replies:
    0
    Views:
    374
  8. mdsousa
    Replies:
    0
    Views:
    498
  9. Ajaykumar Panchamoorthy
    Replies:
    2
    Views:
    226
  10. LAMPROS MARANTOS
    Replies:
    0
    Views:
    427

Share This Page

Loading...