GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — material/README.md at master · cd89101112/material

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
175 lines (116 loc) · 6.65 KB
/

README.md

Copy path

File metadata and controls

175 lines (116 loc) · 6.65 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Material

Download Android Arsenal

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

Get it on Google Play

Or try it here.

Getting Started

Add Gradle dependency:

dependencies {
   compile 'com.github.rey5137:material:1.2.4'
}
  • Or Download from Jcenter

You can try the SNAPSHOT version:

dependencies {
   compile 'com.github.rey5137:material:1.2.3.1-SNAPSHOT'
}

Make sure to add the snapshot repository:

repositories {
    maven {
        url "https://oss.sonatype.org/content/repositories/snapshots"
    }
}

AppCompat and CardView library is required by Material library.

dependencies {
   compile 'com.android.support:appcompat-v7:23.4.0'
   compile 'com.android.support:cardview-v7:23.4.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:

     <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
        <!-- Customize your theme here. -->

        <!-- colorPrimary is used for the default action bar background -->
        <item name="colorPrimary">@color/colorPrimary</item>

        <!-- colorPrimaryDark is used for the status bar -->
        <item name="colorPrimaryDark">@color/colorPrimaryDark</item>

        <!-- colorAccent is used as the default value for colorControlActivated
             which is used to tint widgets -->
        <item name="colorAccent">@color/colorAccent</item>

        <!-- You can also set colorControlNormal, colorControlActivated
             colorControlHighlight & colorSwitchThumbNormal. -->
    </style>

Donation

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

Click here to lend your support to: Support Material Library project. and make a donation at pledgie.com !

PayPal

  • [Donate] (https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=pea5137%40gmail%2ecom&lc=US&item_name=Rey%20Pham&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHostedGuest)

Contributing

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

Developed By

  • Rey Pham - [email protected]

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.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.