Welcome! Log In Create A New Profile

Advanced

WM Android images in different resolutions

Posted by Sebastian Arnold 
Sebastian Arnold
WM Android images in different resolutions
August 05, 2011 03:35PM
In Android you can have 3 different app graphic resolutions. High, middle and low density. With WD mobile you can only have 1 resolution.

This is true for image controls, except for the app icon. There you can declare the three different files.

Workaround: create an image file (e.g. png) in a three times bigger size. Example: you need an 48x48 pix image. With Photoshop you create a PNG in 144x144 with 72 dpi. You put this file as an image control into WM and resize it to 48x48. Then you choose 'homothetically centered extended' as display mode. This way the image should be displayed correctly in any screen density.

PCSoft should add the possibility to store three different image files for each image control in Android.

Sebastian
Sebastian Arnold
Re: WM Android images in different resolutions
November 14, 2011 09:55PM
Just to demonstrate the impact of this missing feature:

If you have a button on your Android app, it will look ugly if you have a phone with higher resolution. So you don't use the usual buttons. You can do an internal window control with the caption and the graphics.

Same for the menu entries. But there you don't have a chance with the workaround I was talking about in the former post.

Sebastian
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: