android-md-core - Material风格bootstrap的框架
android-md-core - Material风格bootstrap的框架
android-md-core
AppCompat and Google Support Design are really awesome but they also have some limitations. Theming android app is not an easy task, especially keeping consistent UI on both Lollipop and Non-Lollipop devices is even harder. If you've tried CardView, Spinner, Theme, you know what I mean. So, I propose android-md-core - Material bootstrap for Android development like Bootstrap or Foundation for web.
I am working hard to predefine element styles as many as I can. If you find that it still doesn't meet your need, don't hesitate to send me a request. I love to work with you to solve problems. Send a request HERE
Installation
compile "me.henrytao:mdcore:
android-md-core is an UI library and pretty much depended on AppCompat and Support Design. So that, versioning is quite the same with those libraries from Google.android-md-core is deployed to jCenter. Make sure you have jcenter() in your project gradle.
Usages
STEP 1. Setup BaseActivity
public abstract class BaseActivity extends AppCompatActivity { @Override protected void onCreate(@Nullable Bundle savedInstanceState) { // This method should be called before calling super MdCore.init(this); super.onCreate(savedInstanceState); }}
STEP 2. Setup theme using either MdTheme.Light or MdTheme.Dark
Demo
Please note that the app on the Play store is not always the latest version.
Concepts
android-md-core is designed base on some priciples:
Widely support: based on appcompat and google support design for sure.Simplicity: used attribute-based theme system rather than value-based theme system. This increases the flexibility to have multiple theme in one app.Ease to use: predefined style for most of base elements. So that, you can use easily like Bootstrap or Foundation for web.Consistency: consistent UI for both Lollipop and Non-Lollipop devices.Modern: keep up to date with Google Material Design.
Features
Contributing
Any contributions are welcome! Please check the CONTRIBUTING guideline before submitting a new issue. Wanna send PR? Click HERE
License
Copyright 2015 "Henry Tao "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://apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed 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 andlimitations under the License.
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。




