Giter Site home page Giter Site logo

projectx's Introduction

ProjectX

Icon

整体项目合集,包括Widget、Drawable以及一些工具类。

Widget

  • BaseTabStrip

    TabStrip基础类,其实现了类似于PagerTabStrip的一些基础方法,继承该类型并实现相应方法达到自定义的PagerTabStrip同类型的效果。

  • GradientTabStrip

    继承自BaseTabStrip,实现微信式渐变底部Tab效果

  • TagTabStrip

    继承自BaseTabStrip,实现ViewPager滚动标记点

  • IndicatorTabStrip

    继承自BaseTabStrip,移动式下标渐变缩放Tab,Item不建议超过5个

  • ShapeImageView

    图形裁剪ImageView,API 21 及以上 使用 View.setOutlineProvider(ViewOutlineProvider) 方式实现,API 18 及以上 使用 Canvas.clipPath(Path) 方式实现,API 18 以下 使用 Paint.setXfermode(Xfermode) 方式实现(使用的是PorterDuffXfermode),均支持动态图;支持固定高宽缩放比缩放,支持前景Drawable,支持ImageView的所有ScaleType

  • StateFrameLayout

    状态帧布局,通常用于网络请求的四种状态,普通、载入、错误、空白。支持Drawable或者View来展示,也可以混搭

  • WrapLayout

    自动换行布局,支持不等长不等宽子项,且可以设置垂直间距与水平间距及子项对齐模式

  • ReplaceLayout

    交替布局,配合TabStrip使用,达到伴随ViewPager动作而进行改变的效果

  • DrawableRatingBar

    双图片评级控件,可设置图片间距,支持拖动进度及点击进度,可控制最大值最小值,及是否可手动。

  • HeaderFooterGridView

    头尾GridView,支持AUTO_FIT模式,头尾模式有两种,无反射代码。

  • MultiActionTextView

    文字可点击TextView,设置文字部分可点击,点击执行不同操作。

  • SelectionView

    快速跳选,常用于联系人列表快速选取。

  • CircleProgressBar

    带载入动画的环形进度条,可高度配置,支持配置成表盘。

  • ZxingScanView

    一个View实现zxing条码扫描视图。

  • SmoothInputLayout

    仿微信式,平滑输入面板,防止键盘的出现与消失导致特殊输入面板的顶起与塌陷。

Drawable

  • DoubleCircleDrawable

    双圈动图,用于载入提示。

  • CirclingDrawable

    外围小点转圈动图。

  • CenterDrawable

    中心图片,背景可绘制形状,一般用于ImageView的src,保证缩放后,中心的Drawable不变形。用于一般background属性的话,无需使用本控件,直接使用layer-list来定义即可。

  • CombinationDrawable

    双层图片,与CenterDrawable类似,背景为另一Drawable,一般用于ImageView的src,保证缩放后,中心的Drawable不变形。用于一般background属性的话,无需使用本控件,直接使用layer-list来定义即可。

  • CornerDrawable

    尖角框,使用该Drawable时,会改变View的Padding值。

  • LineDrawable

    横线图片,主要是底色为透明或半透明色时有用,为不透明时,通过layer-list即可实现。

  • LinearDrawable

    线性图片,多张图片排列,支持设置间隔,主要用于替代多个ImageView排列,节省性能。

  • TextDrawable

    文字图片。

  • CircleExpandDrawable

    圆圈扩大图片。

  • MaterialProgressDrawable

    SwipeRefreshLayout载入动图。

Other

  • Printer

    标准ES-POS命令打印,固定IP或蓝牙打印,支持黑白图片打印

  • Security

    加密解密,主要为3DES、AES、RSA加密算法的整理

  • Support

    支持包

Demo

Google Play Download

Support

如果发现错误,请在此处提出: https://github.com/AlexMofer/ProjectX/issues

License

Copyright (C) 2015 AlexMofer

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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.

projectx's People

Contributors

alexmofer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.