首页 > 代码库 > 支持滚动展示图片的ImageView
支持滚动展示图片的ImageView
如果你的图片比较大,但是可显示的区域却是固定的,可是你又不想压缩图片,怎么办?ImageMarqueeView是个不错的选择
标签: Android SDK
[1].[文件] ImageMarqueeView.java ~ 26KB 下载(57) 跳至 [1] [2]
[2].[文件] attrs.xml ~ 825B 下载(20) 跳至 [1] [2]
?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <? xml version = "1.0" encoding = "utf-8" ?> < resources > < declare-styleable name = "ImageMarqueeView" > < attr name = "src" format = "reference" /> </ declare-styleable > < declare-styleable name = "BorderLinearLayout" > < attr name = "border_left_size" format = "dimension" /> < attr name = "border_top_size" format = "dimension" /> < attr name = "border_right_size" format = "dimension" /> < attr name = "border_bottom_size" format = "dimension" /> < attr name = "border_enable" default = "true" format = "boolean" /> < attr name = "border_color" format = "color" /> </ declare-styleable > < declare-styleable name = "DottedLineView" > < attr name = "line_color" format = "color" /> < attr name = "line_stroke_width" format = "dimension" /> </ declare-styleable > </ resources > |
支持滚动展示图片的ImageView
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。