Android-图像形状改变了屏幕旋转 [英] Android- Image shape changed on screen rotation

查看:111
本文介绍了Android-图像形状改变了屏幕旋转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个使用9.png文件作为其后台的应用程序。问题是,当我旋转屏幕,背景形状古怪变化。

I created an app that uses a 9.png file as its background. The problem is, when I rotate the screen, the background shape changes weirdly.

我附上的截图:

正如你所看到的,包含名称和形象布局的背景需要一个奇怪的形状。

As you can see, the background of the layout containing the name and image takes a weird shape.

有什么可以是可能的原因是什么?我怎样才能使它工作?

What can be the possible reason? And how can I make it work?

我已签该图像是完美流畅和完美的造型。

I have checked that the image is perfectly smooth and in perfect shape.

编辑:
我说的是下面的背景下,是不正确的拉伸(最左边的部分是高度小于最右边的部分):

I am talking about the following background that is not stretching properly(The leftmost part is smaller in height than the rightmost part):

推荐答案

我已经找到了问题。这是一个错觉,因为背景图片。它现在是固定的。

I have found the problem. It is an optical illusion, because of the background image. It is now fixed.

此致

这篇关于Android-图像形状改变了屏幕旋转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆