title: Delphi XE5 Android - Screen resolution & device profiles
body: <p>I started doing an app for android in Delphi XE5, and encountered some troubles. First one was, when creating new profile for device in design time. I created new profile for my HTC One (M7), which has 4,7" screen at 1080x1920 resolution. When created profile with such data, I only got the top left part of picture after I ran it on the device itself. So, since then I'm running my app, so I can test at least the code I'm doing, in mode with default profile " 5,1" WVGA Android Phone (480dp x 800dp: mdpi) ", since at this settings, I see about 75% of the design-time form size... Anyone has any idea why this is happening, and if that's XE5's problem, or the app's itself when ran on the phone?</p>
  
  <p>Update: I figured from the sample projects of RAD studio, that if I use Samsung Galaxy S4 template, which also has 1080x1920 resolution, it's the correct form for my HTC One as well. Just can't see it's settings, since stock profiles can't be edited, but surely isn't set as 1080x1920, because the form itself looks smaller than the one I created.</p>
  
  <p>I know now I can use this settings, but just don't understand why the difference.</p>
  
  <p>Anyway, the main question now is, how to set up the screen settings so that they apply and change in dependence of the device and device's screen resolution...?</p>
  
  <p>Thanks.</p>
  
  <p>UPDATE:
  Just got confirmed from a friend that on his Nexus tablet he sees the whole picture, meaning the form's size just as is set in delphi.
  <a href="http://en.wikipedia.org/wiki/Nexus_7_(2012_version)" rel="nofollow">http://en.wikipedia.org/wiki/Nexus_7_(2012_version)</a></p>
  
  <p>Wtf?</p>