我需要放大ImageView以显示图像的一部分 那是我的动画XML代码:
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:fillAfter="true">
<scale xmlns:android="http://schemas.android.com/apk/res/android"
android:duration="2000"
android:fromXScale="1"
android:fromYScale="1"
android:toXScale="2"
android:toYScale="2"
android:pivotX="100%"
android:pivotY="0%" >
</scale>
</set>
工作正常,放大&#34;图像到右上角,但图像也被缩放,它完成其他项目,如按钮,其他图像 我正在寻找一种方法来阻止&#34;阻止&#34;里面的图像是框(ImageView初始尺寸)并隐藏了缩放图像时我得到的图像部分 我告诉你我的问题,我希望有一个解决方案。
答案 0 :(得分:0)
使用此:
<input class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-8 col-md-offset-2" type="text" name="name" value="" placeholder="Your Name" style="background-color:blue;"/>
在此处查找Gradle依赖项: