[ 
https://issues.apache.org/jira/browse/FLEX-33659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13761093#comment-13761093
 ] 

Hugo Ferreira commented on FLEX-33659:
--------------------------------------

OmPrakash,

You are right. I just tested and if you remove applicationDPI="120" from the 
MultiDPITest.mxml you will see everything I mention before in 120 DPI device 
(you could try for example with HTC Wildfire profile in Flash Builder AIR 
emulator).

If I design my application for example for 240 DPI application and let Flex 
re-layout the application for 120 DPI everything seems to work but I dont want 
that because I use my own assets (for pixel perfect and best performance).

Not using applicationDPI set property have 2 big advantages:
- Pixel perfect in all supported densities
- Better performance (Flex dont have to re-layout the assets)

2 disadvantage:
- I have to supply every asset in different size (using MultiDPIBitmapSource)
- Dont work for specific with size (TextInput for example) but I already 
extended this components and deal with that automatically
                
> Low density devices (120 dpi bucket)
> ------------------------------------
>
>                 Key: FLEX-33659
>                 URL: https://issues.apache.org/jira/browse/FLEX-33659
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Mobile: Density
>    Affects Versions: Apache Flex 4.10.0
>         Environment: Android + AIR 3.8 + Low dpi device like this one: 
> http://www.gsmarena.com/samsung_galaxy_pocket_neo_s5310-5391.php
>            Reporter: Hugo Ferreira
>            Assignee: Justin Mclean
>             Fix For: Apache Flex 4.11.0
>
>         Attachments: mobile.swc, MultiDPITest.fxp, RadioButton_120_DPI.png, 
> RadioButton_240_DPI.png, Screen Shot 2013-09-04 at 12.28.22 AM.png, Screen 
> Shot 2013-09-04 at 12.28.47 AM.png, Screen Shot 2013-09-04 at 12.29.08 
> AM.png, Screen Shot 2013-09-04 at 12.29.26 AM.png, Screen Shot 2013-09-04 at 
> 12.29.58 AM.png, WithBug.png, Working.png
>
>
> More and more lower devices have the capability to run AIR so also Apache 
> Flex and this lower devices have screen DPI lower than the minimum 160.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to