Code Monkey home page Code Monkey logo

aui's Introduction

logo

AUI

AUI是一个快速开发UI组件集合,帮助大家快速实现常用UI效果,用原生控件实现ios同样的UI效果,告别rn,weex等之类框架,提升开发效率。旨在帮助那些不想用或者不会用混合开发的,但是项目中又不得不实现仿ios的效果。集成这个库可以帮你快速实现常见的UI控件,分分钟搞定IOS效果。


主要功能列表(规划中):

主要控件:

  • Button 按钮,可以设置圆角和自定义颜色图片。
  • Switch 开关按钮
  • Slider 滑块
  • Segment 分段控件
  • UIToolBar 工具栏
  • Picker 拾取器(选择器) :日期时间拾取器、普通单列拾取器、普通双列拾取器(非关联)、普通双列拾取器(关联)
  • ios里面的状态栏(Status bar) 相当于安卓的状态栏,只不过这个是可以设置颜色的
  • ios里面的导航栏(Navigationbar) 相当于安卓的标题栏
  • ios里面的标签栏(Tab bar) (系统定制) 相当于安卓app里面的tab导航标签页面
  • ios里面的工具栏(Tool bar) 这个适用于浏览器下方的那个导航
  • ios里面的搜索栏(Search bar) 这个在安卓里面需要自定义
  • ios里面的活动视图(Activity view) 相当于安卓的popwindow
  • ios里面的提醒视图(Alert view) 相当于安卓的Diaolg,这个是居中的
  • ios里面的编辑菜单(Edit menu)相当于安卓的popwindow
  • ios里面的弹出视图(Popovers)相当于安卓的popwindow
  • ios里面的按钮,按钮开关,这个需要自定义一个View,支持圆角的ImageView
  • ios里面的分段控制(Segmented control) 这个在安卓里面需要自定义
  • ios里面的表视图(Table view) 其实就是列表展示,主要集成有几种常见的样式。

其他效果:

  • 侧滑退出
  • 蒙版效果
  • 高斯模糊
  • 视差动画(比如类似QQ空间那种下拉图片放大)
  • 阻尼效果
  • 视差模糊
  • 转场动画(这个在ios里面带有一些,安卓里面基本都需要自定义)
  • 标题置顶(滑动列表时,让列表标题置顶,用于多类型布局场景,比如联系人界面)

使用方法:


更新日志:

  • 2019.3.22 更新AlertView

版权:

Copyright [awei] [AWeiLoveAndroid]

   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.

aui's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  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.