Giter Site home page Giter Site logo

androiddiy's Introduction

我的Android DIY

一、Aandroid自定义控件(View)
    
    1. 自定义登录动画效果(非原创)
        说明:
            两个控件的各自动画效果叠加,注意尺寸,会影响动画衔接处的效果!
    2. 自定义TabButton单选按钮 YinTabButton  【Kotlin】 
        版本:v1.0.0
        基本功能:   
                    可直接xml布局中使用;
                    只支持点击OnClick,不支持滑动(至于其他的操作,可随意添加接口并实现即可完成);
                    随意设定title内容和数量,文字大小等常用属性;
                    随意设置标签指示器indicators的狂傲颜色
        说明:未提供xml的属性配置,暂时通过代码中setXXX来设置各种属性;具体见代码 /views/YinTabButton;
        使用:暂时直接复制源代码到项目中即可;
    3. Android自带下拉刷新控件 SwipeRefreshLayout 使用
        说明:
            "此布局应作为视图的父级,将作为手势的结果进行刷新,并且只能支持一个直接子级",该控件内部只能直接包含一个支持滑动的子控件(Recyclerview 、ListView、ScrollerView等)
        此处用的是 RecyclerView,效果如下:

androiddiy's People

Contributors

jerry-yin avatar

Stargazers

 avatar

Watchers

 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.