screen-resolution

How does Android define a screen resolution as long?

北城以北 提交于 2019-12-19 09:46:42
问题 With Android, you can define different resources for different phone attribute by naming res directories appropriately. I need to be able to support different layouts for 480x800 and 480x854 . I figured I could have one set of resources stored in the layout-hdpi-v4 directory and another in layout-long-hdpi-v4. However, both resolution seem to think that they are long (at least based on the emulator, which I understand may not reflect devices accurately). Is there another way in which I can

Get scale of screen

好久不见. 提交于 2019-12-19 09:18:02
问题 We can get resolution and stuff for our screen is Screen class. So, we should use Screen.WorkingArea.Width and Screen.WorkingArea.Height , if we want to place something in center of screen. But, in Windows 8.1 (not sure about other OSs) there is possibility to scale items on screen, if they seem too small. You can check it, by calling context menu on desktop, select "Screen Resolution", and then select "Make text and other items larger or smaller". And the problem is, that, it seems, it does

Java application automatically resize to fit screen resolution

守給你的承諾、 提交于 2019-12-18 09:46:39
问题 The touch-screen application I am developing will be used on different screen resolutions. I never had to worry about this before, but now I do. I am wondering how can I design the GUIs so that EVERY object on the GUI resizes proportionally to fit the screen resolution? Can you refer me to a good tutorial page? I am designing the application using the NetBeans and the Swing framework. Thank you 回答1: I am wondering how can I design the GUIs so that EVERY object on the GUI resizes

How to support various iphone screen sizes as of 2014?

你说的曾经没有我的故事 提交于 2019-12-18 06:08:14
问题 I'm almost done building my first iPhone app and am trying to add a background image, and am finding it a little confusing, because nowadays there's like 3 or 4 different size screens among the different iPhone versions, with different resolutions to boot. So while I'm aware of the whole image@2x.png thing, I still don't know what I really need. If I want my app to run on iPhone 4/4s, 5s/5c, 6/6+, how many different versions of a background image do I need, and at what sizes and resolutions?

Android Multiscreen Support in android : 540x960 issue

跟風遠走 提交于 2019-12-17 19:36:38
问题 My application is supporting 3 type of density ldpi (120),mdpi(160),hdpi(320) and for that we have three folder for resources (ldpi,mdpi,hdpi). But my problem is occurring in HTC sensation XE (540x960) having density ~256 dpi.and my resources is stretched. In manifest file <supports-screens android:xlargeScreens="false" /> means i am not supporting for xlarge screen so does 540x960 come in high density??. How can i overcome this problem??? Android Multiscreen Support issue says " You can also

Android S3 layout vs Galaxy Nexus layout

我与影子孤独终老i 提交于 2019-12-17 19:24:51
问题 I've developed an app that was supposed to target both the Galaxy Nexus and the Galaxy S3. Both have 720 x 1280 screen resolutions and I have only used 'dp' values in my app. The resources exist in the 'layout-xhdpi' and the 'drawable-xhdpi' folders. Layout looks perfectly fine on the Nexus, but the padding values (in dp) is slightly off on the S3. I assume its because of the bigger screen size on S3 and difference in density. How can I create a separate folder for Nexus and S3 so I can take

Responsive design with media query : screen size?

安稳与你 提交于 2019-12-17 17:28:39
问题 I'm working on responsive designed web site using media queries. But i do not know how to take a good width set. As you can see on this table, there is a lot of different resolution even for a single type of device. And as resolution is coming bigger and bigger on mobile device, it is hard to know what design to apply for a specific resolution. For now, I'm using this : Mobile First @media screen and (min-width:720px) => Phablet @media screen and (min-width:768px) => Tablet @media screen and

Minimum screen resolution for Android devices

安稳与你 提交于 2019-12-17 15:36:14
问题 Please, what is the device with the minimum screen resolution on the market? 回答1: According to the latest Compatibility Definition Document, the definition for screen configurations require that: Screens MUST be at least 2.5 inches in physical diagonal size Density MUST be at least 100 dpi The aspect ratio MUST be between 1.333 (4:3) and 1.779 (16:9) The display technology used consists of square pixels In practical terms, the lowest screen resolution currently being used is QVGA (240x320).

How to disable iPhone 6 native resolution?

北城余情 提交于 2019-12-17 12:05:38
问题 I have several games made with Cocos2d-iphone. All of them are old projects created with Xcode 4 or 5. All games scale fine on the new iPhone 6 and 6 Plus except one that seems to avoid the scaling mode and is running on native iPhone 6/6 Plus resolution. The project does not contain Launch images with the resolutions that seem to disable the scaling mode as explained here Is there anything else that unlocks the native resolutions? I want the game to run in scaling mode for now until the HD

How to disable iPhone 6 native resolution?

二次信任 提交于 2019-12-17 12:05:37
问题 I have several games made with Cocos2d-iphone. All of them are old projects created with Xcode 4 or 5. All games scale fine on the new iPhone 6 and 6 Plus except one that seems to avoid the scaling mode and is running on native iPhone 6/6 Plus resolution. The project does not contain Launch images with the resolutions that seem to disable the scaling mode as explained here Is there anything else that unlocks the native resolutions? I want the game to run in scaling mode for now until the HD