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

tic tac toe game in android screen size change

i made tic tac toe game in android which is working fine in a 5 inch screen but in my honor bee 4.5 inch display it looks like this in my 5 inch nexus avd it looks fine with all chips inside the line here's the xml code for layout …
0
votes
1 answer

Can't see any services running in Ambari Web UI

All of a sudden, there is no Ambari service shown on web UI. However, my YARN, HDFS, ZooKeeper, HBase services are running pretty well. Does anyone know why this happened? Thanks!
zczhuohuo
  • 169
  • 1
  • 13
0
votes
0 answers

NumericUpDown control ignores AutoScaleMode for Margin

Simple case: Create a Form in the Visual Studio designer and sets its AutoScaleMode value to Dpi. Then place a NumericUpDown control and a TextBox in two rows of a TableLayoutPanel. Now set both controls' Margin property to 10 pixels. Also provide…
ygoe
  • 18,655
  • 23
  • 113
  • 210
0
votes
0 answers

Android app always pick drawable from XXXHDPI directory

I am developing an application, and I defined 5 different sizes of drawables in my app. But when I run the app, it always run with xxxhdpi drawable files. Is there any simple way to configure app to pick suitable drawable depend on android…
Waseem
  • 439
  • 3
  • 18
0
votes
1 answer

How to better the DPI quality of the image resulting from a scene scrennshot in JavaFX

What I want to do is take a screenshot of the scene, I achieved this with the following code WritableImage snapshot = stage.getScene().snapshot(null); File file = new File("src//HE//Utilidades//Imagenes//consul.png"); try { …
CorrOrtiz
  • 168
  • 1
  • 2
  • 17
0
votes
3 answers

Kafka | Unable to publish data to broker - ClosedChannelException

I am trying to run simple kafka producer consumer example on HDP but facing below exception. [2016-03-03 18:26:38,683] WARN Fetching topic metadata with correlation id 0 for topics [Set(page_visits)] from broker…
Shashi
  • 2,686
  • 7
  • 35
  • 67
0
votes
1 answer

Android: Design for different screen sizes but with same DPI

I Designed a layout and placed it it the layout folder. I have samsung s3 and Nexus 4 which has the same DPI which is Xhdpi. But when i am running the app s3 shows layout perfectly but in nexus 4 i am loosing some items. Now i designed layout for…
hari86
  • 659
  • 2
  • 16
  • 28
0
votes
0 answers

screenresolution, imageresolution and ppi

Samsung Galaxy s6 has a screen density of 577 ppi which maps to xxhdpi - xxxhdpi Screen resolution: 1440 X 2560 Samsung Galaxy S3 has a screen density of 306 ppi which maps to xhdpi Screen resolution: 720 X 1280 My app with a lot of scenic images…
java
  • 1,165
  • 1
  • 25
  • 50
0
votes
1 answer

Creating layout for tablet and phone android

Ok, so, I have read a lot about creating layout for android devices. I thought I was on the right path when I wasnt. My situation is next: I created layout-normal, layout-normal-land, layout-small, layout-small-land, etc... Then, I got…
Miljan Vulovic
  • 1,586
  • 3
  • 20
  • 48
0
votes
0 answers

Google Chrome on 1440p Monitor on Windows 7

I basically tried everything and searched everywhere, but I can't make google chrome "scale" at the res of 1440p. All the things (Websites as well as UI) are way to small to read and use comfortably. I tried to edit the registry, enable chrome flags…
Robin
  • 1,170
  • 1
  • 10
  • 21
0
votes
0 answers

Android fail to use best ressources

I created a folder layout-xhdpi for particular XML for these kind of screen. So I've the layout folder, and layout-xhdpi folder. But when I launch the application on a phone HDPI, he gets the XML which are in layout-xhdpi folder. I don't understand…
deveLost
  • 1,151
  • 2
  • 20
  • 47
0
votes
1 answer

do i have to be specific with hdpi and mdpi?

my app is choosing to show mdpi images over there hdpi twins on tablets, unless the mdpi images are removed, then it will gladly use my hdpi images. ive read the docs and other posts and ive tried adding the line;…
martinseal1987
  • 1,862
  • 8
  • 44
  • 77
0
votes
0 answers

Storing image to HDPI folder of a android application remotely

Is it possible to store image , from server to a android application HDPI folder? If possible how can we do that?
Akash Goswami
  • 306
  • 3
  • 14
0
votes
1 answer

Not enough space to show ad with layout-hdpi

I've created a additional portrait layout for devices like Samsung S3 Mini and Google Nexus S - which are 480 pixels wide in portrait. To add this cloned layout, I used Android Studio to Create Other... then selected Density and chose High Density…
Hippogriff
  • 295
  • 1
  • 4
  • 18
0
votes
1 answer

How to define a android drawable folder

Refering to this Question: How to make a shape with left-top round rounded corner and left-bottom rounded corner? I have just created a new Drawable folder called res\drawable-v12 in my android project. In this way I want all devices using an…
Chamara Keragala
  • 5,627
  • 10
  • 40
  • 58