Android Question Visual designer won't match tablet size

saunwin

Active Member
Licensed User
Longtime User
Hi Guys,

So I lay out my screen/view in visual designer (connected to my tablet via bridge) all looks good (abstract designer matching connected device) until I compile - then half the "views" are hanging off the screen/missing. I'm sure this didn't happen before (old version). TIA.
 

stevel05

Expert
Licensed User
Longtime User
Have you set the anchors for each view?
 
Upvote 0

saunwin

Active Member
Licensed User
Longtime User
No, but surely it's a scaling thing - everything on the tablet (after compiling and running) is too big
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
It will use the variant size from the designer. Setting the anchors is the way to go.
 
Upvote 0

saunwin

Active Member
Licensed User
Longtime User
Thanks Steve.
Just to finish this thread
The anchors were set.
I hadn't added my tablet screen size to the variants panel and it was using 320x480 (the only variant listed and I suspect the default/only one listing in a fresh install).
Cheers
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…