我想根据屏幕分辨率和大小来调整图像视图。怎么做?我搜索android开发教程..但它是没有用的..请帮助..这是我的小项目。
I want to resize image view according to screen resolution and size. How to do it? I searched android development tutorials.. but it is useless.. pls help.. It's for my mini project..
您可以尝试缩放图像以X,Y通过设置坐标:
You can try to scale the image to X,Y coordinates by setting:
android:scaleType="fitXY"
属性。