[RESOLVED] Why I see a black line in my app in Android?

Hi there!

I am doing a sinple game, but when I run the App in Android 2.3.6 device, I see a black line in mi screen, concretely, in the left side. I select the option to hide the status bar, bur this do not work.

In my computer I see this:

And in the phone, this:

How I solve this?

Goodbye!!!

PD: My phone is LG Optimus L3 which have 240*320. The project is 320*480

maybe you need to use display.newImage(image.png, true). THE TRUE make that the image been display in full screen or something like that :slight_smile: i was having the same problem. take a look int spanish forum. But after all i do not resolve the problem completly . sorry my english :) 

What is the size of the image?  What type of scaling are you using?  Can you post your config.lua

This display.newImage(image.png, true) dont work for me, but thanks juanMartin16 :wink:

JonPM, the image size is 500*500px, I am not using any scaling, and here you have the config.lua:

http://pastebin.com/ct2NaFjM

Thanks for answering :wink:

The device you are using has an aspect ratio that is 1.333 : 1.  This is the same as the iPad.  320x480 is a 1.5:1 ratio.  This means that with your config.lua using 320x480 and you’re using Letterbox, so your display is too narrow to fit a wider device.  If you only want to support that screen, try making your device width 360 instead of 320.

This work for me :smiley:

Thanks :wink:

maybe you need to use display.newImage(image.png, true). THE TRUE make that the image been display in full screen or something like that :slight_smile: i was having the same problem. take a look int spanish forum. But after all i do not resolve the problem completly . sorry my english :) 

What is the size of the image?  What type of scaling are you using?  Can you post your config.lua

This display.newImage(image.png, true) dont work for me, but thanks juanMartin16 :wink:

JonPM, the image size is 500*500px, I am not using any scaling, and here you have the config.lua:

http://pastebin.com/ct2NaFjM

Thanks for answering :wink:

The device you are using has an aspect ratio that is 1.333 : 1.  This is the same as the iPad.  320x480 is a 1.5:1 ratio.  This means that with your config.lua using 320x480 and you’re using Letterbox, so your display is too narrow to fit a wider device.  If you only want to support that screen, try making your device width 360 instead of 320.

This work for me :smiley:

Thanks :wink: