Trouble with screen scaling on Android(#4295)(SOLVED)

I don’t know how to make it adoptive.
When i run it on PC (All Good):


When i run it on Android Phone (Xiaomi redmi note 7 Pro):

In the editor:

I can extend it, but:

In the editor (Extended):
image

Hi,

You maybe want to look into the Adjust Mode for your background node. Try setting the the Adjust Mode to Stretch.

Where i can set it? Please send a screen or something

Is your background image a gui node or gameobject?

nope, it is sprite at background

You might want to create your background from a gui node that way you can easily scale it to be responsive.

1 Like

ok, th. Will try soon

Just try to add next lines into your AndroidManifest.xml:

1 Like

Ok, will write soon

Make sure you make a copy of your AndroidManifest.xml and paste is somewhere in your project and then edit from the copied manifest.
You will not be able to save any changes when you edit from the builtins’ Android Manifest.xml.

The builtin AndroidManifest.xml will reset to its default state when you relaunch Defold Engine.

Don’t forget to set the new manifest in your game.project

I copued it, but how to attach it to project, or i will be automaticly?

No! You have to set it in the game.project manually. In the game.project Jump to Android and then under Manifest > select the path for your new manifest.

Th, buy i maybe found a problem) Problem on this app from developers.

britzl just look. The problem on debug programm)

If install apk on my phone manualy

I created a new ticket for that Issue-#4295

th

1 Like

Solved in Defold 1.2.160 has been released

2 Likes

Thank you

1 Like