rey5137 /material

A library to bring fully animated Material Design components to pre-Lolipop Android.

★ 5,938⑂ 1,290👁 1⑃ 53● 428▤ 10
JavaApache-2.0Created 2014-12-09rey5137.com/material/
下载:Material Library v1.3.0Material-1.3.0 ↓1.3.02019-06-12
+0
日增长
5,938
stars
1,290
forks
1
watchers
53
prs
428
issues
10
releases

README

Material
=====================

   

MaterialLibrary is an Open Source Android library that back-port Material Design components to pre-Lolipop Android. MaterialLibrary's original author is Rey Pham.

 Features
 Demo
 Getting Started
 Donation
 Contributing

 Features
- Progress
    - Circular
    
        ! !
    - Linear

        ! 
        !
        !
        !

- Button
    
    ! !

    ! !   
     
- Switch

    !

    !

    !

- Slider

    !

    !

- Spinner
     
    !

- Text Field

    !

- TabPageIndicator
     
    !

- SnackBar
     
    !

- Dialog

    ! !

- BottomSheetDialog
     
    !

- Dynamic theme
     
    !

 Demo


  


Or try it here.

 Getting Started

Add Gradle dependency:

gradle
dependencies {
   implementation 'com.github.rey5137:material:1.3.1'
}


 Or
Download from Jcenter

AppCompat, CardView, RecyclerView library is required by Material library.

gradle
dependencies {
   compile 'androidx.appcompat:appcompat:1.0.0'
   compile 'androidx.cardview:cardview:1.0.0'
   compile 'androidx.recyclerview:recyclerview:1.0.0'
}

Now you can use any widget in com.rey.material.widget package as you wish. For styling, please view Wiki. Note that default style of widgets depend on theme of AppCompat. Here is an example:

xml
     
        

        
        @color/colorPrimary

        
        @color/colorPrimaryDark

        
        @color/colorAccent

        
    


 Donation
You can support the project and thank the author for his hard work.



PayPal
- Donate

 Contributing
Want to contribute? You are welcome! 
Note that all pull request should go to dev branch.

Developed By
------------

 Rey Pham - 


License
--------

    Copyright 2015 Rey Pham.

    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.

Top issues

Latest release

Material Library v1.3.0 1.3.0 2019-06-12
- Migrate to AndroidX

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON