Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
Imageview 不显示圆角
我试图使我的布局像这样 但我无法使我的图像视图像这样带有圆角 它在 Android studio 的布局编辑器中完美显示 但在真实设备中我得到的是平角 我厌倦了 XML 和代码 但没有一个对我有用 请帮助我使我的布局像这个示例图像一样 我的
Android
xml
androidlayout
androidimageview
在android聊天气泡中插入imageview可调
我想在我的 Android 聊天中执行此操作 但我无法让我的照片适合我的泡泡 我有一个LinearLayout 他的背景是一个气泡9patch 在其中 我有一个图像视图 在此处插入图像但不是如何使其适合我们在屏幕上看到的背景 这就是我的形象
Android
androidarrayadapter
androidimageview
ninepatch
使用glide库进行图像灰度化
我正在使用 glide 库在图像视图中加载图像 url Glide with context load imageurl apply RequestOptions circleCropTransform into holder thumbn
Android
androidimageview
androidglide
如何在 Android Espresso 测试中捏合和缩放(手势)图像视图? [复制]
这个问题在这里已经有答案了 我正在研究图像编辑应用程序的自动化 并使用 Android Espresso 作为框架 请指导我如何在 Android Espresso 测试中捏合和缩放 手势 图像视图 Espresso 中没有相应的方法 但您
Android
androidimageview
androidespresso
为 imageview 添加渐变
我想在图像底部添加渐变 像这样的东西 我尝试了类似的方法 但我只得到渐变 没有图像
Android
androidimageview
androiddrawable
以编程方式显示 ImageView
当用户单击按钮时 如何使 ImageView 出现在屏幕中间 我已将图像放在 res drawable 文件夹中 我一直在尝试使用下面的代码 但我不知道如何使 ImageView 出现 View v new ImageView getBas
Android
androidimageview
带图像的android网格视图(图像缩小并且看起来模糊)
I have to show 7 icons on the home screen of my application To do this i have arranged the icons on the grid view using
Android
GridView
androidimageview
如何在 Android 中下载并保存图像
如何在 Android 中从给定的 URL 下载并保存图像 编辑截至 2015 年 12 月 30 日 图像下载终极指南 最后一次重大更新 2016 年 3 月 31 日 TL DR 又名 别再说了 给我代码吧 跳到这篇文章的底部 复制Ba
Android
androidimageview
imagedownload
将 ImageView 保存到 Android 模拟器库
我想将图像保存到 Android Gallery 这是我当前的代码 image setDrawingCacheEnabled true image buildDrawingCache true Bitmap b image getDrawi
Android
fileio
IO
androidimageview
androidgallery
如何在 android 中的 Imageview 上制作正弦波?
我想创建与此类似的图像 可以用XML来完成吗 如果没有 我将如何缩放这样形状的图像 是的 这是可能的 你可以使用vactor drawable for it
Android
vector
ImageView
androidimageview
如何给 ImageView 赋予六边形形状
如何赋予六边形形状ImageView 可以用同样的方式做吗 如果是这样那怎么办 如果这不可能通过此方法实现 那么如何实现呢
Android
ImageView
androidimageview
使用异步任务在 gridview 中加载图像,未正确加载
我正在尝试在 gridview 异步中加载缩略图 因为其他方式显示时间太长 当我以正常方式进行操作时 它可以很好地显示图像 代码和图像 Utils public static Bitmap getThumbnail Context cont
Android
GridView
androidasynctask
androidimageview
使用 ShapedDrawable 将 ColorFilter 应用于 ImageView
我有一个ImageView with android src设置为ShapedDrawable 即一个白色圆圈 我想要的是给这个上色ImageView在运行时响应一些事件 imgView setColorFilter似乎是解决方案 但使用此
Android
drawable
androidimageview
colorfilter
shapedrawable
如何在惰性列表中使图像更大(高度)
我正在使用 Lazy list 项目开发一个图书阅读器这是链接 问题 我看到了惰性列表的外观页面高度小 图像模糊 很难阅读 我要这个 它应该看起来清晰 不是模糊 并且整页的高度像这样 I know 惰性列表加载位图的样本大小 我怎样才能获得
Android
androidlistview
lazyloading
androidimageview
Android:显示SD卡中的图像
这让我发疯 这是我的代码 我知道这个文件存在 File imageFile new File sdcard gallery photo 4 jpg ImageView jpgView ImageView findViewById R id
Android
androidsdcard
androidimageview
在android中的gridview中拖放图像
我正在开发一个示例 Android 应用程序来了解 Android 中的拖放操作 在应用程序启动时 我在网格视图上显示一些图像 现在我需要一次将一张图像拖到另一张图像的位置 将一个图像放到另一个图像上后 图像应该交换位置 我怎样才能实现它
Android
draganddrop
androidimageview
androidgridview
Android如何创建堆栈类型的图像背景
我正在开发一个应用程序 我需要在其中创建相册并将其显示在 GridView 中 现在我只是在没有任何背景的情况下显示它们 但我需要专辑封面的背景 以便它看起来像一堆照片 背景是这样的 我尝试了这个 但不起作用 首先我创建了一个像这样的单一背
Android
androidlayout
androidimageview
androidxml
Android:在 ConstraintLayout 中保留全宽和未定义高度 ImageView 的比例?
In a ConstraintLayout an ImageView与其父级绑定的方式如下 它的左侧绑定到屏幕的左侧 它的右侧绑定到屏幕的右侧 它的顶部绑定到小部件的底部 它的底边绑定到屏幕的底边 Thus my ImageView看起来是
Android
androidimageview
androidconstraintlayout
XML 中“图像上缺少 contentDescription 属性”
我收到一条警告 辅助功能 图像上缺少 contentDescription 属性在日食中 此警告显示在第 5 行 声明ImageView 在下面的 XML 代码中 构建和运行我的应用程序时不会出现任何错误 但我真的很想知道为什么我会收到这个
Android
eclipse
warnings
accessibility
androidimageview
如何在 ImageView 中缩放图像以保持宽高比
在Android中 我定义了一个ImageView s layout width to be fill parent 占据手机的整个宽度 如果我把图像放到ImageView大于layout width Android 会缩放它 对吧 但是身
Android
androidimageview
imagescaling
«
1
2
3
4
5
6
7
»