I am working on a mobile app for multi resolutions,for which the components in the screen should adjust itself based on the application DPI. How can i do this?
Auto changing the gaps,font size based on application DPI in Flexmobile
218 Views Asked by Sharath Kumar At
2
There are 2 best solutions below
0
Brian
On
Use the applicationDPI property on your main Application. The views will automatically adjust based on whether the device is closest to 160, 240, or 320 DPI.
See also http://help.adobe.com/en_US/flex/mobileapps/WS19f279b149e7481c682e5a9412cf5976c17-8000.html
Related Questions in APACHE-FLEX
- How to Run flash applications in any browsers with out adding manual extensions in 2023
- Error: Infra Phase complete, 0/0 resources updated in 02 seconds
- How to replace HTMLLoader to display PDF inside air application
- Air desktop application CSS file and image url
- Flex conditional statement: set VGroup height according to Label Text
- D365 - Azure Devops - Git Repo - How to check the history of a file which is stored in separate folders in the Main branch
- How to access data from row in Grid while selecting it so that further it can be used in Text Field below in Adobe Flex (ActionScript)?
- Actionscript: Access of possibly undefined property id
- Adobe flex in 2021
- How i can add cron entry without time using chef
- Equivalent of parent parentDocument from flex
- Captive runtime packaging issue (Failed to load the AIR Runtime) under Catalina 10.15.7 with ADT
- Getting error while running curl command via chef
- How can I create a context menu on the fly in a textArea in AS3/AIR?
- Flex SDK installer fails to download https://github.com/swfobject/swfobject/archive/2.2.zip
Related Questions in FLEXBUILDER
- Flex mobile project with sqlite - debugging mode on device, cant find the database
- How to get all row value of datgrid in flex when i click on any row and compare with other datagrid
- flex 4.6 : How to cache image captured using PersistenceManager
- Sorting List without propagating event for resetting scrollbar
- error 102: Invalide namespace error:http://ns.adobe.com/air/application/2.0
- Flex/Adobe Air application as service
- Eclipse + Flex Builder: keyboard shortcuts for “open resource” stopped working?
- Flex PHP service
- Flex 4 spark Video Player how to play from currentTime
- How do I access an array of objects of arrays?
- Flash Builder 4 Profiler: how to spot what objects are causing a known memory increase?
- Flash Builder 4 Security error accessing url Destination: DefaultHTTP
- Comments in FlashBuilder (aka Flex) mm.cfg file?
- Problem with showing data in Accordian using an XML file and VBox container
- Problem with running PHP file with the Release of Flex project
Related Questions in FLEX-MOBILE
- flex mobile - fastest way to load local file?
- I want to run in android mobile my code for PDF viewing from url in to flex mobile application using ActionScript 3.0
- IOSApp rejected: Error ITMS-9000 Invalid segment alignment
- flex mobile add emoticons and text
- Flex IconItemRenderer change color on selected
- Display object into spark list?
- Flex Mobile: PersistenceManager not saving data (only on some iPads)
- Flex Mobile Application Label display html text
- Flex mobile HTTPMultiService set user-agent
- Flex mobile automated testing
- Flex's HTTPService dispatches a ResultEvent instead of a FaultEvent
- Auto changing the gaps,font size based on application DPI in Flexmobile
- Adobe flex mobile application
- Simple datagroup with itemrenderer not working in flex mobile
- ERROR ITMS-9000: Invalid Code Signing
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I would suggest you'd define multiple stylesheets that assign skins to your components. Each stylesheet assigns skins that render the components accordingly to the resolution/dpi used on the device. The specific stylesheet need to be loaded and applied at runtime after determining the resolution/dpi.