Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
在 Android 中放大图像以填充整个 ImageView
我想放大图像以占据 ImageView 的整个大小 这与使用略有不同scaleType fit center因为健身中心 http developer android com intl fr reference android graphi
Android
androidlayout
androidimageview
Android - 加载图像Url并在ImageView中显示
我有这段代码来加载图像 服务器是安全的 我得到的答复是 200 这意味着可以 然后还要加载正确的网址 问题是当我运行我的应用程序时 图像不会被加载 try Bitmap bitmap null URL imageUrl new URL ur
Android
androidimageview
androidimage
Android如何设置视图的透明图像资源?或删除图像?
ImageView v findViewById R id imageViewHeart1 setImageResource R drawable heart 我想从图像资源中删除图形 因此 ImageView v findViewById
Android
androidimageview
在列表视图上方添加图像
我想在列表视图上方添加图像视图 我知道在列表视图中添加部分听者 但我只是想节省时间 所以我使用图像视图作为列表视图标题 而不是使用 addSectionHeader 不幸的是我只是坚持使用一些 xml 属性 图像叠加在我的列表视图中 实际上
androidlayout
androidlistview
Android
androidimageview
为什么 setImageResource 不显示任何内容?
我想根据数据库值在 ListView 中显示一个图标 我跟随this https stackoverflow com questions 2192082 android changing an imageview src depending
Android
Resources
androidlistview
androidimageview
Svg 在设备中不可见,但在 android xml 中可见
我对这些图标使用了 SVG 这些图标在 xml 中可见 但在 device 中不可见 以下是我的代码
Android
xml
androidlayout
SVG
androidimageview
未使用 setImageURI() 在 ImageView 中设置图像
创建自己的相机 因为我需要对焦来拍照 相机工作正常 正如预期的那样 通过URI活动之间 I ve ImageView in Next Screen which i used to set the Image with imgView set
Android
uri
androidimageview
androidimage
ImageView 中的动画scaleType =“centerCrop”
有没有办法对scaleType centerCrop 进行动画处理 我需要将图像缩放到 certerCrop 以便图像可以覆盖 imageView 的整个区域 但我需要对其进行动画处理 以便在缩放图像之前向用户展示图像的实际外观 我打算这样
Android
androidanimation
androidimageview
androidkenburnsview
ConstraintLayout 问题 - ImageView 16:9 上边距不合适
我想使用 ConstraintLayout 构建以下布局 我使用这个源进行布局
在图像视图的触摸事件上填充两个图像叠加,如搜索栏
有两个图像黑色和蓝色 同时触摸蓝色图像 它应该像进度一样填充 我在不使用画布的情况下使用多个剪切图像实现了但没有得到smoothness触摸时 例如 实际上 我正在尝试实现类似于我上面提到的 100 个俯卧撑应用程序 我得到了一个link
Android
androidimageview
SeekBar
gauge
我想要 SimpleAdapter 中的 Imageview 吗?
有人可以指出我在这个 SimpleAdapter 中获取 ImageView 的正确方向吗 TAG IMAGE 应该是图像视图 我得到这个 类型不匹配 无法从 ImageView 转换为 int 是的 我是一个菜鸟 protected vo
Android
androidimageview
simpleadapter
创建动态规则
我正在尝试使用代码动态调整相对布局中的图像大小 int height v getHeight int width v getWidth height 50 width 50 RelativeLayout LayoutParams layou
Android
resize
androidimageview
如何在 Glide/Picasso/Ion 等占位符中加载 gif 图像
无法找到在占位符中加载 gif 图像的完美解决方案 Glide with context load imageUrl asGif placeholder R drawable gifImage crossFade into imageVie
Android
androidimageview
picasso
androidglide
androidion
将 imageView 中的图像与底部中心对齐
我有一个简单的 imageView 我希望图像显示在底部的中心 目前它显示在右下角
Android
xml
ImageView
androidimageview
scaleType
如何在从url加载的ImageView中淡入图片
我想对 ImageView 应用淡入动画 以创建从 url 加载的图像在下载完成时淡入的效果 我知道如何将图像从 url 下载到 ImageView 例如这个答案 https stackoverflow com questions 2471
Android
androidanimation
androidimageview
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
«
1
2
3
4
5
6
7
»