android - 使用搜索栏在 ImageView 中放大/缩小效果

标签 android imageview zooming seekbar

你好,我在 ImageView 中有一张图片,我想使用 SeekBar 放大/缩小它,而不改变 ImageView 的高度宽度。

enter image description here

当我将 SeekBar 移动到右侧时,图像会放大,而向左移动时会缩小。

谢谢。

最佳答案

如果您愿意,可以尝试并编辑此代码...

pinch zoom Image view

希望对你有帮助

关于android - 使用搜索栏在 ImageView 中放大/缩小效果,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8531276/

相关文章:

android - 为什么 StringUtils Apache 类在 Android 中不被识别?

android - 从 Android 发布到 goo.gl

android - 如何在 Android 中为 ImageView 添加边框?

c# - 如何检索 WinForms PictureBox 的缩放系数?

java - 缩放时左右移动图像

c# - 图表 - 放大以显示更精确的数据

java - 如何区分两个 "views"彼此重叠

android - Nexus 7 兼容性问题

android - 如何使用不同的 LayoutParams

android - ImageView adjustViewBounds 不适用于 fitXY