Until now I developed Windows Mobile software using a HTC Touch for testing. Now I switched to a Touch Diamond and somehow, all of my icons are displayed have of the size they should be. For instance, I have an icon of the size 64*64 and it is displayed 32*32 on the phone. The emulator displays it correctly. Does anybody know why that happens?
The screens are different, maybe this is the problem
QVGA (320 x 240) vs. VGA (640 x 480) screens.
i was wodnering is it possible to change the options at the bottom of the screen with this? i mean currently it has Launcher and Contacts is it possible to change and add more? as well as changing the ones that are already there?
im looking at the main site but its quite hard to understand what you can do with it
i am also unsure what res version to get for it as i thought the res of Touch HD was 800 x 460 but thats not an option to download - am i missing something?
Hi,
About support for multiple screens , I have understood to be based on the dpi , screen density .
As I read there are 4 types of density in android devices, approximately:
low - 120 dpi
medium - 160 dpi
high - 240 dpi
xhigh - 320 dpi
Also, I would have to define everything that uses , in my application, ' dp ' rather than pixels , okey .
Now what?
Different screen sizes , with different densities .
Put yourself in the situation that I want to make a game and I want to start by making a background and sprite.
It would have to do 4 sprites and 4 different funds for different types of densities, ok ? But, who would actually scale ? I mean, to work in any image editor like photoshop.
That dimension should have , for example , the background ?
I'll start with the high density ( 240dpi ) .
I have three devices with different sizes but same density.
The first is of 480x800 , 320x480 second and third 768x1280 .
Well, for example , to make the background of the game , that dimension would have to have ? A be the average of the three ? 784x1280 ?
If this is true, now would have to convert the pixels in pd to have an intermediate dimension depending on the dpi and I can work with , using the formula p = dp * ( dpi/160 ), where 'p' are pixels, 'dp' density-independent pixels, and dpi are dpi
And I would have , rounding , 523dp x 854dp .
This would be my size in pixels with which would make my background in photoshop.
All this is correct ? If I make a real background with dimensions 523x854 pixels , which conventiran in ' dp ' in the android devices, will look good on all those screens whose density is high ?
Please, correct me and help me
Thanks
PD: Sorry for my english, I used translate google
Pryato said:
Hi,
About support for multiple screens , I have understood to be based on the dpi , screen density .
As I read there are 4 types of density in android devices, approximately:
low - 120 dpi
medium - 160 dpi
high - 240 dpi
xhigh - 320 dpi
Also, I would have to define everything that uses , in my application, ' dp ' rather than pixels , okey .
Now what?
Different screen sizes , with different densities .
Put yourself in the situation that I want to make a game and I want to start by making a background and sprite.
It would have to do 4 sprites and 4 different funds for different types of densities, ok ? But, who would actually scale ? I mean, to work in any image editor like photoshop.
That dimension should have , for example , the background ?
I'll start with the high density ( 240dpi ) .
I have three devices with different sizes but same density.
The first is of 480x800 , 320x480 second and third 768x1280 .
Well, for example , to make the background of the game , that dimension would have to have ? A be the average of the three ? 784x1280 ?
If this is true, now would have to convert the pixels in pd to have an intermediate dimension depending on the dpi and I can work with , using the formula p = dp * ( dpi/160 ), where 'p' are pixels, 'dp' density-independent pixels, and dpi are dpi
And I would have , rounding , 523dp x 854dp .
This would be my size in pixels with which would make my background in photoshop.
All this is correct ? If I make a real background with dimensions 523x854 pixels , which conventiran in ' dp ' in the android devices, will look good on all those screens whose density is high ?
Please, correct me and help me
Thanks
PD: Sorry for my english, I used translate google
Click to expand...
Click to collapse
Make 5 folders in res folder
drawable-ldpi
drawable-mdpi
drawable-hdpi
drawable-xhdpi
drawable-xxhdpi
and put every thing on them and andrioid resize them automatically.
also...for best results use "wrap_content"
in layout_width and layout_height
Pryato said:
Hi,
About support for multiple screens , I have understood to be based on the dpi , screen density .
As I read there are 4 types of density in android devices, approximately:
low - 120 dpi
medium - 160 dpi
high - 240 dpi
xhigh - 320 dpi
Also, I would have to define everything that uses , in my application, ' dp ' rather than pixels , okey .
Now what?
Different screen sizes , with different densities .
Put yourself in the situation that I want to make a game and I want to start by making a background and sprite.
It would have to do 4 sprites and 4 different funds for different types of densities, ok ? But, who would actually scale ? I mean, to work in any image editor like photoshop.
That dimension should have , for example , the background ?
I'll start with the high density ( 240dpi ) .
I have three devices with different sizes but same density.
The first is of 480x800 , 320x480 second and third 768x1280 .
Well, for example , to make the background of the game , that dimension would have to have ? A be the average of the three ? 784x1280 ?
If this is true, now would have to convert the pixels in pd to have an intermediate dimension depending on the dpi and I can work with , using the formula p = dp * ( dpi/160 ), where 'p' are pixels, 'dp' density-independent pixels, and dpi are dpi
And I would have , rounding , 523dp x 854dp .
This would be my size in pixels with which would make my background in photoshop.
All this is correct ? If I make a real background with dimensions 523x854 pixels , which conventiran in ' dp ' in the android devices, will look good on all those screens whose density is high ?
Please, correct me and help me
Thanks
PD: Sorry for my english, I used translate google
Click to expand...
Click to collapse
Just make one image of xxhdpi dimensions and resize it using Google android asset studio
Sent from my GT-S5570 using XDA Premium 4 mobile app
arpitkh96 said:
Just make one image of xxhdpi dimensions and resize it using Google android asset studio
Sent from my GT-S5570 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No need to resize manually. Android itself resize them
Sent from my GT-S5360 using Tapatalk 2
mohamedrashad said:
No need to resize manually. Android itself resize them
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
Yeah but it would cause more resource consumption
Sent from my GT-S5570 using XDA Premium 4 mobile app
Thanks to all
Bitmap decodeStream by multiple screen. Only need one picture
You should also include a drawable-xxxhdpi folder. This is only required for 1080p devices with the KitKat launcher, and only the app icon is needed here, it should have a resolution of 192 x 192 pixels.
andras_k said:
You should also include a drawable-xxxhdpi folder. This is only required for 1080p devices with the KitKat launcher, and only the app icon is needed here, it should have a resolution of 192 x 192 pixels.
Click to expand...
Click to collapse
Thanks, I will do it
does anyone know what this does? I found it in the Pure Nexus settings and put it on max but saw no real effect
This is the DPI.
I set this to 440 to make the screen content smaller. (see http://forum.xda-developers.com/nexus-6p/help/screen-dpi-t3255282 )
Hi everyone,
I have created an android wallpaper app and it works perfectly on my device (Xiaomi Redmi note 7 pro).
I have placed all the wallpapers inside drawable.
But when I installed it on other phone having lower screen resolution it didn't work.
How to use/resize same images for other screen resolutions. Or how to select different images as per screen resolution. (if I resize images for different screen resolution).
Or any other better option.
Thanks in advance.