The screen resolution of an Android device
Questions tagged [android-resolution]
100 questions
1
vote
1 answer
How can I make my AppWidget automatically fill the width of the home screen?
I am working on a widget. On the typical phone, I would prefer it to be 4x2, filling the width of the home screen. However, on some larger phones (i.e. Samsung Galaxy Mega), the launcher has 5 cells' width. I am trying to find the best way to…

dennisdrew
- 4,399
- 1
- 25
- 25
1
vote
0 answers
Emulating Galaxy Tab 3 on Android 4.+
(I searched quite a lot here on stackoverflow but could not find the answer)
My game is a tablet-only game and so far I got the interface to fit on a
1024x600 7" tablet mdpi (ex: HTC Flyer)
1280x800 10.1" tablet mdpi(ex:Acer A500)
Nexus 7" v2…

Jim S
- 427
- 1
- 6
- 12
1
vote
2 answers
Bitmap size difference for devices with same density, inches and resolution
I have two tablet devices:
1) Asus Memo Pad 172V tablet
Specs given online as: 600 * 1024 pixels, 7.0 inches (~170 ppi pixel density) LINK
Specs through code: 1024 * 552 pixels, 7.0 inches (160 ppi pixel density)
2) MID 7510 tablet
Specs given…

sjain
- 23,126
- 28
- 107
- 185
1
vote
2 answers
Android SDK - selecting correct resources
I built an Android tablet application and I'm trying to figure out how to make the system select the correct resources.
I understand the concepts described in the documentation. There are a number of different resource folders for different…

Londo
- 1,163
- 2
- 8
- 6
1
vote
2 answers
Android screen not scaling correctly even though I used dp as units?
I have done a lot of reading on SO and googling all over the place but still cannot get my answer...I have this code:

John Smith
- 95
- 1
- 6
1
vote
1 answer
How to display non-zoomable webpage at Android (Nexus 7)
Client reports problem with my webpage on Nexus 7. Nexus have 1280x800 native resolution and I need display my webpage on this device (and other androids) non-zoomable, so in 1280x800resolution.
Before problem report, I had this setting for…

Kurtas
- 43
- 1
- 2
- 5
1
vote
1 answer
I've an app with AdMobs in Google Play but I have doubts
I've an app with AdMobs in Google Play but I have doubts.
PX DP converter is a simple tool for developers and designers.
Basically this application is for my learning.
PX DP Converter | Google Play
I have understood that if I use AdMobs I can't see…

ephramd
- 561
- 2
- 15
- 41
1
vote
0 answers
Why does a normal-mdpi device pick from drawable-normal-hdpi instead of the default drawable?
I'm sorry for the odd way of putting the question.
So basically the problem is that I have 3 directories for drawable resources
drawable
drawable-normal-hdpi
drawable-xlarge
with the intention to separate it like this
but it doesn't work.
Because…

unR
- 1,298
- 14
- 21
1
vote
1 answer
Image Resolution
I have a camera application in which i am taking an image and storing it in the SD Card .
When i check the resolution of the image stored , it is found as 120X160 pixels.
But , the normal image taken by the camera is 640X480 pixels.
I donot want…

Kumar
- 169
- 2
- 5
- 12
0
votes
2 answers
Android Multi Screen
Today, i read much information on android's multi-screen document. I doubt that android support multi-screen on QVGA, HVGA and WVGA when you use 'dp' unit on the xml layout.Does the android support the same density but different resolution? For…

King Wu
- 53
- 1
- 5
0
votes
1 answer
Resolution specific dimensions are not working as expected in Android
I had to adjust the layout dimensions for HDPI devices. So, I added the dimensions in values-hdpi folder.
dimen decleration in values-hdpi folder
8dp
dimenn…

Suneesh Ambatt
- 1,347
- 1
- 11
- 41
0
votes
2 answers
Screen appearing differently on different devices even with dip and same resolution
Okay guys. Problem: I have a layout that needs views to appear inside of the "boxes" that are built into the background image. So..precise layout is a must. I got the layout up and it looked great on the emulator and the Samsung Galaxy S, but when I…

honeal
- 1,459
- 1
- 18
- 19
0
votes
3 answers
relative layout problem in android
in my app i use relative layout for design.in an activity i have four buttons at bottom of the screen. my xml code(Land scape) does not suit for all device screen. it has more space between buttons as show in the figure. how to design the layout…

M.A.Murali
- 9,988
- 36
- 105
- 182
0
votes
1 answer
Android: Image Pixel Question
I have a simple question here regarding image.
I have this image 300x240pixel on my laptop screen, however when i put it into the android phone, it becomes smaller. why is this so?
I did some research before posting here, apparently this got to do…

Cass
- 41
- 1
- 5
0
votes
1 answer
Sub drawable Folders in minSDK v3 Project?
When you create a project with min SDK version = 3 , you will not see the three auto-generated folders drawable-ldpi, drawable-mdpi, and drawable-hdpi.
Is it possible to add them ? I know that I can add the folders I need in the project but I want…

iTurki
- 16,292
- 20
- 87
- 132