ImageView coordinate (0,0) has space

时光毁灭记忆、已成空白 提交于 2019-12-12 03:24:34

问题


Im facing the next problem: I have an imageView that change the size programmatically because de density hdpi has a 480x800 resolution. I change the size with layoutParams. After I change the size, I want to position the imageView. When I position the view for example to the coordinate (0,0) I saw that between the imageView and the limit of the screen is a little space, like 25 inches. The imageView moves to other place and when I want to position it again to (0,0), the space between the imageView and the limit of the screen disappear. Why is happening that? I need to fix that because the first time is showing wrong, I don’t want the space! Hope your understand

Greets

来源:https://stackoverflow.com/questions/33134905/imageview-coordinate-0-0-has-space

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!