Android Question Abstract Designer vs Design on Tablet vs Running the App

mariusturnkey

Member
Licensed User
Longtime User
Hi,

Could someone please point me in the right direction, obviously I am making a mistake somewhere.

When designing the Layouts/Screens, the screen does not fill the space for the target device I have set.

Please see the files attached.

Your help/advise would be greatly appreciated.
Marius
 

Attachments

  • On Tablet while designing.jpg
    78.9 KB · Views: 114
  • Visual Designer.jpg
    429.6 KB · Views: 112
  • When running the App.jpg
    92.6 KB · Views: 110

Andrew (Digitwell)

Well-Known Member
Licensed User
Longtime User
You are not using anchors correctly.
The resolution of the tablet for designer and the running app are different.

See these explanations:


The edit fields need to have left right anchors set.
For the button, I normally set the size and then use
btn.horizontalcenter = 50%x
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…