Questions tagged [screen-resolution]

The number of distinct pixels in each dimension that the screen can display, usually quoted as width × height with the units in pixels.

It is usually quoted as width × height, with the units in pixels. The screen resolution signifies the number of dots (pixels) on the entire screen. For example, a 640-by-480 pixel screen is capable of displaying 640 distinct dots on each of 480 lines, or about 300,000 pixels. This translates into different dpi measurements depending on the size of the screen. For example, a 15-inch VGA monitor (640x480) displays about 50 dots per inch.

1404 questions
255
votes
13 answers

How to detect the screen resolution with JavaScript?

Is there a way that works for all browsers?
iceorangeblue
180
votes
8 answers

Most popular screen sizes/resolutions on Android phones

I understand that Android's developer site provides information on this topic. I have already read the following three pages: Supporting Multiple Screens Screen Sizes and Densites Icon Design Guidelines They do not give the information/statistics…
dfetter88
  • 5,381
  • 13
  • 44
  • 55
109
votes
9 answers

How do I set browser width and height in Selenium WebDriver?

I'm using Selenium WebDriver for Python. I want instantiate the browser with a specific width and height. So far the closest I can get is: driver = webdriver.Firefox() driver.set_window_size(1080,800) Which works, but sets the browser size after it…
tom
  • 2,189
  • 2
  • 15
  • 27
105
votes
6 answers

Is there a list of screen resolutions for all Android based phones and tablets?

If not, is there a list of screen resolutions for the most popular Android phones and tablets.
user783146
  • 1,511
  • 3
  • 12
  • 6
100
votes
8 answers

How to handle image scale on all the available iPhone resolutions?

What sizes would be the best to use for images: background.png, background@2x.png and background@3x.png if we want to use this image for example to cover the full width and half height of the screen on all resolutions for iPhone portrait app? This…
Leszek Szary
  • 9,763
  • 4
  • 55
  • 62
85
votes
13 answers

Is it bad to work with pixels in CSS?

Is it bad in terms of compatibility to use pixel numbers in CSS instead of percentages? How about lower resolutions? Is it okay to work with them in ranges of 1-100?
loya
  • 749
  • 1
  • 5
  • 4
85
votes
9 answers

How to change screen resolution of Raspberry Pi

I am using 7" TFT LCD Display with the Raspberry pi, can anyone tell how i can change the screen resolution of Raspberry Pi and what should be the resolution for the 7" TFT LCD Display.
lkkkk
  • 1,999
  • 4
  • 23
  • 29
84
votes
8 answers

Different resolution support android

Edited Question: Mobile Resolution: I would like to design different screen dpi like following resolutions. 320x480,480×800,540x960,720x1280 (Samsung S3),1080x1920 (S4, Nexus5,Nexus 5x, Moto G4),2560 x 1440 (Nexus 6, Nexus 6p, Samsung edge) Tablet…
81
votes
8 answers

Get and Set Screen Resolution

How can I collect and change screen resolution using Visual C#?
Bruce Powell III
  • 811
  • 1
  • 6
  • 3
81
votes
11 answers

C#: Get complete desktop size?

How do I find out the size of the entire desktop? Not the "working area" and not the "screen resolution", both of which refer to only one screen. I want to find out the total width and height of the virtual desktop of which each monitor is showing…
Timwi
  • 65,159
  • 33
  • 165
  • 230
77
votes
9 answers

Switch android x86 screen resolution

I would like to use Android-x86 2.2 as an emulator on my Windows 7. I have downloaded VirtualBox and the ISO, and I've made a virtual machine with it, but I can't set the resolution to 320x480 or something similar. The following tutorial "Using…
gberes
  • 1,169
  • 1
  • 12
  • 32
71
votes
11 answers

How to Work With Different Screen Resolutions

I'm using Unity 4.3.3 for my game. I'm making a game for Android and iOS devices. Since I'm pretty new to unity, I can't seem to find a way to work with different screen resolution. I'm using c# for my scripts. I want my game to run full screen.…
Ashish Beuwria
  • 975
  • 6
  • 13
  • 17
56
votes
6 answers

Minimum screen resolution for Android devices

Please, what is the device with the minimum screen resolution on the market?
Abramodj
  • 5,709
  • 9
  • 49
  • 75
54
votes
10 answers

How to auto resize and adjust Form controls with change in resolution

I have noticed that some applications change their controls' positions to fit themselves as much as possible in the current resolution. For example, if the window is maximized, the controls are set in such a way that the overall GUI looks…
Afnan Bashir
  • 7,319
  • 20
  • 76
  • 138
48
votes
7 answers

Only use XHDPI drawables in Android app?

If you're planning to support LDPI, MDPI, HPDI, and perhaps XHDPI in the near future, is it ok to only include XHDPI drawables in the project and let the devices scale them to their desired resolution? I've tested to resize the drawables into MDPI…
Emil
  • 1,176
  • 2
  • 10
  • 7
1
2 3
93 94