Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: How to bypass the automatic selection of the display of the form?


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: May 27, 2016 1:08 AM Last Post By: Jiri Paskevic
Jiri Paskevic

Posts: 43
Registered: 2/24/14
How to bypass the automatic selection of the display of the form?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 20, 2016 5:14 AM
Is it possible in some way to programmatically bypass automatic selection of the display of the form (Customized View) on Android device?

If I use the automatic selection, Delphi not always correctly determine the resolution and size of Android devices:

{$R *.fmx}
{$R *.LgXhdpiTb.fmx ANDROID}
{$R *.SmXhdpiPh.fmx ANDROID}
{$R *.NmXhdpiPh.fmx ANDROID}
{$R *.LgXhdpiPh.fmx ANDROID}
{$R *.XLgXhdpiTb.fmx ANDROID}


Let me give a few examples:

GT-I8160P (diagonal size 3.8", resolution 480x800 [320x533]) to be classified as a 5.0" LgXhdpiPh device.

Z220 (diagonal size 4.0", resolution 480x800 [320x533]) to be classified as a 3.5" SmXhdpiPh device.

SM-G360F (diagonal size 4.5", resolution 480x800 [320x533]) to be classified as a 4.0" NmXhdpiPh device.

Someone advise me how to bypass the automatic selection and provide a custom (own) view selection?

Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: How to bypass the automatic selection of the display of the form?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 20, 2016 2:05 PM   in response to: Jiri Paskevic in response to: Jiri Paskevic
Am 20.05.2016 um 14:14 schrieb Jiri Paskevic:
Is it possible in some way to programmatically bypass automatic selection of the display of the form (Customized View) on Android device?

If I use the automatic selection, Delphi not always correctly determine the resolution and size of Android devices:

{$R *.fmx}
{$R *.LgXhdpiTb.fmx ANDROID}
{$R *.SmXhdpiPh.fmx ANDROID}
{$R *.NmXhdpiPh.fmx ANDROID}
{$R *.LgXhdpiPh.fmx ANDROID}
{$R *.XLgXhdpiTb.fmx ANDROID}


Let me give a few examples:

GT-I8160P (diagonal size 3.8", resolution 480x800 [320x533]) to be classified as a 5.0" LgXhdpiPh device.

Z220 (diagonal size 4.0", resolution 480x800 [320x533]) to be classified as a 3.5" SmXhdpiPh device.

SM-G360F (diagonal size 4.5", resolution 480x800 [320x533]) to be classified as a 4.0" NmXhdpiPh device.

Someone advise me how to bypass the automatic selection and provide a custom (own) view selection?


Hello,

I don't know how to bypass this, but you shoulod report these
missclassifications into quality.embarcadero.com

Greetings

Markus
Jiri Paskevic

Posts: 43
Registered: 2/24/14
Re: How to bypass the automatic selection of the display of the form?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 27, 2016 1:08 AM   in response to: Markus Humm in response to: Markus Humm
Hello,

I don't know how to bypass this, but you shoulod report these
missclassifications into quality.embarcadero.com

Greetings

Markus

Hello Markus,

issue was created. See https://quality.embarcadero.com/browse/RSP-14954

Greetings,
Jiri
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02