Questions tagged [hdpi]

HDPI refers to a high-density screen (about 240 dpi) used on an Android device.

Term or suffix used in Android that stands for high density displays. -hdpi can be added to layout, drawable, etc. folders in order to maintain artifacts that have especially been designed for this density.

Beside hdpi, one might use ldpi, mdpi or xhdpi, too. The Android system automatically chooses the appropriate resource files.

See official documentation for more.

141 questions
118
votes
4 answers

Android screen size HDPI, LDPI, MDPI

I have a background that I need fit in all screen sizes. I have three folders, hdpi, ldpi and mdpi for drawables, but in the emulator there isn't any referense to what resolution hdpi is and what mdpi and ldpi are.
artouiros
  • 3,947
  • 12
  • 41
  • 54
36
votes
1 answer

Java 9 hdpi display support - multi-resolution images - name convention and loading in Windows

According to these articles: http://news.kynosarges.org/2015/06/29/javafx-dpi-scaling-fixed https://twitter.com/michaelsamarin/status/729234779292483584 Java 9 should support high DPI displays (automatic DPI scaling) in Swing. I have tested it on…
Jolinar
  • 866
  • 8
  • 16
32
votes
5 answers

How to use jmeter ui on ultra high resolution display

The jmeter UI on windows 8 with a 3200X1800 Lenovo Laptop is unusable. Fonts on the far left pane are toooo small and on the right side the line spacing is too small for the fonts. If I change my resolution to 1920X1080, it has no effect. tried…
user3911406
  • 321
  • 1
  • 3
  • 3
25
votes
2 answers

JavaFX 8 HiDPI Support

I just tried out the JavaFX Hello World Example on a 4k screen on Arch Linux, but unfortunately the GUI does not scale. The documentation says Hi-DPI support. JavaFX 8 now supports Hi-DPI displays. So how can I make my application dpi aware?
tryzor
  • 800
  • 2
  • 10
  • 18
21
votes
5 answers

Automatic rescaling of an application on high-dpi Windows platform?

I'm writing a Qt application that needs to run on high-dpi Windows (192dpi instead of 96dpi). Unfortunately the Qt framework does not have support for high-dpi yet (at least on Windows), so my application and all its elements looks half the size it…
Robin Lobel
  • 630
  • 1
  • 5
  • 16
17
votes
5 answers

How to configure an Android emulator for the Kindle Fire?

I want to configure an emulator to be compatible with the Kindle Fire, including its resolution. What do I have to change in the emulator settings (or elsewhere)?
16
votes
2 answers

Netbeans 8.2 with jdk 9

I have an issue on hdpi with netbeans, the icon become too small when I open it. Then I found the issue below. And someone says that jdk9 fix the resolution problem. https://netbeans.org/bugzilla/show_bug.cgi?id=252452 Here is my environment: OS:…
brandboat
  • 195
  • 1
  • 1
  • 9
15
votes
3 answers

Nexus 7 and Kindle Fire HD, think different

I'm developing an application for tablet 7 inch Kindle Fire HD and Nexus 7 . These two applications are the same size and the same screen resolution. However, I run my application, it is very different. Why? it seems this is because the nexus 7 is…
Pauland
  • 1,974
  • 16
  • 25
9
votes
2 answers

spark-shell error : No FileSystem for scheme: wasb

We have HDInsight cluster in Azure running, but it doesn't allow to spin up edge/gateway node at the time of cluster creation. So I was creating this edge/gateway node by installing echo 'deb…
roy
  • 6,344
  • 24
  • 92
  • 174
9
votes
3 answers

How to classify Android Devices based on DPI values?

In Android, various devices are classified into different categories based on their density. LDPI = 120 DPI MDPI = 160 DPI HDPI = 240 DPI XHDPI = 320 DPI XXHDPI = 480 DPI XXXHDPI = 640DPI Here my doubt is, if an Android device has density as "200…
msg
  • 1,480
  • 3
  • 18
  • 27
8
votes
2 answers

OpenGL surface view scaling for different DPIs

I have a device with 800x480 res. When I create GLSurfaceView, I get an onSurfaceChanged call with 533x320 (apparently with 1.5 HDPI modifier applied) and surface is upscaled. So when I draw 1 pixel thick line is looks really bad, and I can't have…
Mark
  • 603
  • 4
  • 10
7
votes
0 answers

Using high DPI images with QtStyleSheet

I have a Qt Widgets application using Qt styleSheet for the app look and feel. We want to add support for high-DPI displays, as on these, the app looks very small. The first step was thus to…
majk
  • 827
  • 5
  • 12
6
votes
1 answer

Delphi High DPI switch between own scaling and Windows scaling

Some of my customers want to be able to scale my application manually (when Windows dpi is set to 96), so I had to implement scaling. Unfortunately these customers cannot go with setting Windows DPI to an other value and let WIndows scale my app…
MichaSchumann
  • 1,361
  • 1
  • 17
  • 36
6
votes
0 answers

backingStoreRatio - valid or deprecated?

This html5rocks.com article on High DPI Canvas has been recomended on several places across SO. It describes how to use the backingStoreRatio value to correctly scale bitmaps on high DPI screens (retina etc). But I can not find any further reference…
daniel.sedlacek
  • 8,129
  • 9
  • 46
  • 77
6
votes
0 answers

Retina/high-DPI custom cursor in Java?

Is there any way to support high-resolution displays for Java custom cursors? The usual method seems to be using Toolkit: Toolkit.getDefaultToolkit().createCustomCursor(cursorImage, new Point(), "customCursor"); However, there is very little…
Alexis King
  • 43,109
  • 15
  • 131
  • 205
1
2 3
9 10