您的位置:首页 > 其它

自定义 View 实现类似京东、天猫收件地址的信封分割线控件

2016-08-15 08:53 477 查看
阅读 1643收藏 792016-8-12

原文链接:https://github.com/xiaohaibin/Maillineview
这是一个通过自定义 View 实现类似京东、天猫收件地址的信封分割线效果,大多电商类的项目中界面设计通常如此,第一次将开源项目上传到 JCenter 仓库,欢迎各位 fork 或 start —— 由

巧摄ONE里 分享

类似京东收件地址信封分割线

效果图





使用方式

dependencies {
compile 'com.xhb.jxnk25:MailLineView:1.0.0'
}

<dependency>
<groupId>com.xhb.jxnk25</groupId>
<artifactId>MailLineView</artifactId>
<version>1.0.0</version>
<type>pom</type>
</dependency>

xml布局

<com.xhb.jxnk25.maillineview.MailLineView
android:layout_width="match_parent"
android:layout_height="4dp"/>

关于我

个人邮箱:xhb_199409@163.com

GitHub主页

简书主页

个人博客

License

Copyright (C) 2016 xhb_199409@163.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
 http://www.apache.org/licenses/LICENSE-2.0 
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.


Android工具资源
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐