+0
Daily
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
#472ERROR: Failed to resolve: com.github.rey5137:material:1.3.021 comments · 2019-09-04#125CheckBox clickability18 comments · 2015-05-22#449i have problem with proguard12 comments · 2018-03-15#342I can't download a library from jcenter7 comments · 2016-02-29#327Spinner unable to drop down items in spinner7 comments · 2016-01-15#267Crash app when i use Snipper after clicking an item6 comments · 2015-09-29#233unable to alignment Dialog title to right6 comments · 2015-09-01#221How can I change EditText fontSize5 comments · 2015-08-18
Latest release
Material Library v1.3.0 1.3.0 2019-06-12- Migrate to AndroidX