我可以更改图像边框的默认颜色吗?
我正在开发一个应用程序,它有一个字符串和图像的故事,使用 html 进行格式化以显示在网络视图中。图像是可放大的,当点击网络视图中的该图像时,只是为了显示该图像被点击,在图像周围创建轮廓或边框,然后放大图像。
现在,我想更改表明图像处于点击状态的特定颜色。请提出任何建议。
I am working on app that has a story in a from of string and an image, being formatted using html to show up in a webview. image is enlrageable and when that image in the webview is tapped, just to show that image is tapped, an outline or border is created around the image and then image is enlarged.
now, i want to change that particular color which shows that, image is in tapped state. any suggestions please.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
看看这个例子。这是一个很好的提示。 更改 WebView 突出显示颜色
Check out this example. It is a good tip. Change WebView Highlight Color
如果它在 WebView 中 - 使用 HTML 来设置边框样式?否则使用背景可绘制来设置边框。
If it's in a WebView - use HTML to style the border? Otherwise use a background drawable to set a border.