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
0
votes
1 answer

D2D1 has obvious aliasing under high DPI

Write a simple demo to verify the issue, the higher the DPI, the more obvious the alias, the text is the same, try to use SetAntialiasMode and SetTextAntialiasMode no improvement, my system is win10 Professional version. Is there some way to…
fredirty2017
  • 103
  • 11
0
votes
1 answer

Unknown SetProcessDpiAwareness Error Result

I have 1 computer out of 50 that is returning a non zero result from SetProcessDpiAwareness and I can't find any information on it. I am setting the DPI Awareness to Unaware. I have one computer that is returning a value of…
Nathan
  • 789
  • 11
  • 20
0
votes
2 answers

Wrong auto-scaling controls with anchors on PageControl in VCL form

I have problems with auto-scaling of controls on my form for different monitor DPI settings. Rad Studio 10.2 Tokio. "Enable high-dpi" is on. I set the form's PixelsPerInch to 96 at design time. I put TPageControl on a form, create a TTabSheet page…
Vladimir
  • 1
  • 2
0
votes
2 answers

Problem with some mdpi and ldpi ressources with android

I have an app supporting from hdpi to ldpi. It works fine, without any problem for accessing resources. In this app, I have a ListView, and I decided to add an image in each view of the list. So I prepared three png images, one for each resolution,…
Tom
  • 1,144
  • 1
  • 11
  • 23
0
votes
1 answer

Hive install fails on Apache Ambari HDP 2.5

2017-07-27 09:49:35,736 - Execution of '/usr/bin/yum -d 0 -e 0 -y install hive2_2_5_3_0_37' returned 1. Error: Package: hive2_2_5_3_0_37-2.1.0.2.5.3.0-37.el6.noarch (HDP-2.5) Requires: python-argparse You could try using…
hui.li
  • 1
0
votes
1 answer

Rectifying browser scaling

When designing a website, the website looks proper on all displays and browsers. However, when moving towards HDPI displays (above the resolution of 1920x1080), chrome and Firefox scale the content by default. This makes text, that looks correct on…
user7741436
0
votes
0 answers

Handling Varying DPI in a Xamarin Forms Applications

I've started using Xamarin Forms. For styling, it's recommended that you use resource dictionaries for providing values. My question is, what's the best approach if you need to supply different styles per DPI in Xamarin Forms? Regards, Steve
Stephen Hewison
  • 324
  • 2
  • 9
0
votes
0 answers

Android Emulator showing hdpi for 720 X 1280

I am trying to emulate Samsung J7 on my Android Emulator.I selected Create Virtual Device -> New Hardware Profile -> Entered J7 configuration (Size 5.5 inches & Resolution 720 X 1280 ) I also created Samsung Galaxy Nexus xhdpi AVD from default…
0
votes
1 answer

Android hdpi resource load problem

good day we are developing game for android and have some trouble with resource loading on high dpi devices. our resources are located in res/drawable directory on a standart dpi device the game work properly, but on hdpi (tested on HTC Desire) all…
anatoly.kryzhanosky
  • 185
  • 1
  • 1
  • 18
0
votes
1 answer

Get HeightRequest points (RelativeLayout) by real size image via Xamarin.Forms

I need to get HeightRequest(RelativeLayout) points by real size image. I get image from the server. It is size 720x250. I need to use RelativeLayout.
Igor Strekha
  • 176
  • 3
  • 17
0
votes
2 answers

high resolution devices display extra small bootstrap layout

According to browserstack these are the specs for say Samsung Galaxy S7: Screen Size 5.1 in - 2.5 x 4.4 in Resolution 1440 x 2560 px Viewport 360 x 640 dp On this device my page displays in the extra small bootstrap layout or default layout because…
steros
  • 1,794
  • 2
  • 26
  • 60
0
votes
1 answer

android: image in different devices

I want to insert images in my android application, first I will be create the images with photoshop then insert it in the projetct. I have a problem in the size of the images: how convert dpi to width and height in…
0
votes
2 answers

How to get Device DPI programmatically?

How to get Device DPI programmatically. i need that value not a device like HDPI or MDPI DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(metrics); switch(metrics.densityDpi){ case…
NatheemYousf
  • 97
  • 1
  • 2
  • 11
0
votes
2 answers

Improving the look of tkinter fonts on a High DPI screen

When using tkinter to create a more modern looking application, I looked to MS Word to inspire my design. Then I noticed that only when I'm using the application on a High DPI device that it looks so terrible. Is there a way to compensate and make…
0
votes
0 answers

VS2013 - Issue with high DPI screen and WinForms

I built an application on a computer with normal DPI size. It is a WinForms application with many forms and custom controls. When I open the project on my Lenovo Yoga 900 with high DPI it looks good in Visual Studio 2013 but when I run the…
Skuami
  • 1,422
  • 2
  • 14
  • 28