Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
ScaleAnimation后如何获取View新的宽高
我用了一个ScaleAnimation调整我的大小ImageView 但是动画完成后 我怎样才能得到我的尺寸ImageView或其中的位图 谢谢 这是我的代码 ScaleAnimation animation new ScaleAnimat
Android
androidanimation
androidimageview
将字符串添加到 ImageView 对象 Android
我需要将一个字符串附加到 ImageView 对象中 以便我可以执行类似的操作imgView1 getString 它会返回它 我知道有getTags and setTags但根据我的理解 它只使用整数 谢谢 只需补充 dharms 答案
Android
tags
androidimageview
androidview
Android 和设置(图像)视图 alpha 的 alpha
真的没有对应的 XML 属性吗 setAlpha int 如果没有 还有哪些替代方案 它比其他响应更容易 有一个xml值alpha需要双值 android alpha 0 0 那是看不见的 android alpha 0 5 透视 andr
Android
xml
androidlayout
androidimageview
Alpha
如何在Android中创建圆形ImageView? [复制]
这个问题在这里已经有答案了 我怎样才能创建一个圆角ImageView在安卓中 我已经尝试过以下代码 但它运行不正常 Code Bitmap circleBitmap Bitmap createBitmap bitmap getWidth b
Android
ImageView
androidimageview
androidimage
从字符串值设置 Android 图像
目前我正在 Android 应用程序中绘制 PNG 图像 如下所示 ImageView image new ImageView context image setImageDrawable context getResources getD
Java
Android
ImageView
androidimageview
在android中,当一张图像移动时,如何知道两个图像是否相交?
在我的应用程序中 我使用以下方法在屏幕上移动图像onTouchListener 我在同一视图中还有另外两张图像 我的问题是 当移动图像接触任何其他图像时 我需要执行特定操作 这意味着如果图像相交 则执行某些操作 如何实现这一点 请尽快帮助我
检索 ImageView 的坐标
我想知道是否可以获取 ImageView 的左侧和顶部坐标 我在 ScrollView 内的相对布局内有 2 个 ImageView 我尝试检索 ImageView 的矩阵matrix iv getImageMatrix 但这没有帮助Mat
Android
ScrollView
androidrelativelayout
androidimageview
显示/隐藏 ImageView 可见性时 Android 应用程序崩溃
我一直在尝试创建我的第一个 Android 应用程序 是的 遇到了应用程序崩溃 我的片段 主 中有两个 ImageView 在相对布局中将 imageview 1 与 imageview2 重叠 我想做的是 如果有互联网连接 应该会显示 i
Android
ifstatement
Crash
androidimageview
Android Kotlin:从目录中获取图像
我正在使用 Kotlin 前端 Python 后端构建一个应用程序 我的 python 脚本在 getFilesDir 目录 data user 0 com example myproject files mygraph png 下创建一个
Android
kotlin
Bitmap
androidimageview
androidbitmap
Android - ImageView 只有一个圆角
我想像这样创建 ImageView 图像的右侧 我有它在 CardView 布局中 所以我有卡片的圆角 但我需要单独创建图像的圆角左下角 或与右上角 我尝试了几个选项 但没有一个能正常工作 我怎样才能做到这一点 你有什么建议吗 您可以使用材
RecyclerView 模糊 setVisibility 函数,点击一个视图影响多个视图
这是项目 https github com kiddBubu RecyclerViewDemo我正在努力奔跑 这是我来自 RecyclerView Adapter 类的 onBindViewHolder 的代码 Override publi
Android
ListView
TextView
androidimageview
androidrecyclerview
如何将图像从aws s3下载到imageview中?
所以我希望能够从我的 s3 存储桶中获取图像并 使用 glide 或 picasso 将该图像加载到 imageview 中 我不想将该图像下载到我的手机中 目前我有这个 downloadButton Button findViewById
Android
amazonwebservices
amazons3
androidimageview
androidglide
ImageView 不保持最大高度和宽度
我将图像加载到ImageView using setImageURI selectedImageUri 从用户的照片库中检索 我有图像视图限制大小 android maxHeight 150dp android minHeight 150d
Android
androidlayout
androidimageview
androidxml
从 RemoteViews 调用 setImageDrawable
我已经在活动中完成了此操作 效果非常好 ImageView myImage ImageView findViewById R id myImageView ShapeDrawable mDrawable mDrawable new Shap
Android
androidimageview
remoteview
shapedrawable
ImageView 的 Cardview 阴影
1 个屏幕截图 ImageView 可见性可见 2 个屏幕截图 消失 使用时ImageView with CardView我们可以说阴影根本不可见 尤其是在智能手机显示屏上
Android
androidimageview
androidcardview
如何从上到下逐步显示 ImageView
有没有办法从上到下逐步显示 ImageView 像这样 抱歉动画很糟糕 我对 android 动画不太熟悉 但一种 有点黑客 方法是将图像包装在ClipDrawable并为其设置动画level价值 例如
Android
androidimageview
圆形 ImageView 未正确显示
我正在尝试制作圆形图像视图 但输出不正确 我附上照片 这些是用于此目的的 xml 文件 圆 xml
Android
androidlayout
androidimageview
显示大于设备屏幕的图像
我想在不调整图像大小的情况下显示比设备屏幕更大的图像 它必须位于屏幕中央 我怎样才能做到这一点 将滚动视图与图像视图一起使用并设置该滚动视图的高度 Example
Android
image
resize
scroll
androidimageview
Android - getHeight() 和 getWidth()
我在relativeLayout中动态创建一些ImageView 但我需要尺寸根据屏幕的高度和宽度而变化 在我设置高度时 视图和布局尚未创建 这意味着getHeight and getWidth 返回 0 我查看了 StackOverflo
Android
androidfragments
androidimageview
androidrelativelayout
拖放 imageview android
我目前正在开发一款游戏 因为有一个框架布局 其中有一个 Horizo ntalView 和一个 VerticalView 和 AbsoluteLayout 而 Absolutelayout 位于右上角 因为有一个 ImageView 现在
Android
androidlayout
draganddrop
androidimageview
«
1
2
3
4
5
6
7
»