How to use similar UI materializecss framework to android design? - android

Is there a way to use a similar Framework as materializecss to Design Android Apps?
Or apply CSS to my design in an Android App?

In Android you must target to 5.0 and use elements like "toolbar", "palette", between others.
On github you have: https://github.com/wasabeef/awesome-android-ui/blob/master/pages/Material.md with dozens of material design elements, widgets, etc and most of them from Android 2.3+. Those are really easy to use and most of them only need a gradler declaration.
Hope that helps you.

Related

Can I externalize the Ionic2 components in another project?

I'm working on a project where one requirement is to use the Google's Material design. The other requirement is Angular2. Unfortunately the material design for NG2 isn't fully ready yet. Since in the past I've worked with Ionic2, I've seen that it has a huge library of components already set up with the material design (for android). I was wondering if there's some way to extract those components and re-use them inside another angular2 project...
Is it witchcraft? Thanks for any suggestion.
Is it a web project or a mobile project?
In any case you can't just extract a component, what you can do is use PWA Ionic 2 - PWA forum post, set you application mode to 'md' in you app.modules imports and then edit the remaining css to look more like material design

Implement material design in android 5.0 and lower

I want to use Material Design in different devices including(i.e) Android 5.1 and Android 4.4.2.
So, after 5.0 android uses Material by default. But what about other devices?
Where I can get samples of such project? How to implement Button, side K and FAB.
Actually, what is the best and common way to implement material? I know that there are some libs to handle my task, but maybe there is the better way.
Please help me to figure out this issue.
Thanks.
You have to use AppCompat Library v21 for Material Design in Pre-Lollipop Device.
http://android-developers.blogspot.com/2014/10/appcompat-v21-material-design-for-pre.html
Additional, want to include ActionButton, Collapsible Toolbar, Floating EditText etc. are available with Design Support Library by Android Developers.
http://android-developers.blogspot.com/2015/05/android-design-support-library.html
You can use the AppCompact support library for that.
http://android-developers.blogspot.in/2014/10/appcompat-v21-material-design-for-pre.html

How to apply Material Design to android versions < 5.0?

I given my application target as 21. So I can use the Material Design API's. But when I run the same on older devices whether I have to define different layout or theme or how it could me.
And also I have read the official document Maintaining Compatibility.
But still I was not clear to use the material theme on android devices less than 5 os.
And also where can I find the Android 5 related XML tags. And how the same tags applied when running on devices less than 5.
Please help me on this. Thanks in advance.
There are few library's to achieve the Material Design applicable to an earlier platforms less than API-21.
An example of such library is this one:
https://android-arsenal.com/details/1/1156. You can look on Android Arsenal for more library's like this.
Also this blog-post from Chris Banes is about Material Design on older platforms, I recommend that you read it: https://chris.banes.me/2014/10/17/appcompat-v21/. I hope it will be helpful for reduce design complexity.

How to include Angular Material Design in an Android App

I was wondering if it was possible to include AngularJS to design certain elements of my Android App and how one could go about doing so. More specifically, how could I apply this angular api: https://material.angularjs.org/#/material.components.radioButton/directive/materialRadioGroup to a radio group in my android app.
Thanks for your help.
It's possible but I wouldn't recommend it for an app yet. If your making a hybrid app I'd recomend taking a look at ionic they basicly intend to fix all the headaches people have with cordova. Their design isn't exactly material but it looks decent and they have plans to switch to material design once angular-material is ready. In fact they are the ones working on angular material.

Are there libraries for custom re-usable views?

Are there libraries for android custom views? Re-usable components?
I did not found much on that topic. Just see everybody creates his own custom components, drawables and so on. Especially things like a homescreen-like viewswitcher and things like that, which reoccur often would be nice to have in a library.
You should check:
What Android 3rd-party libraries are there?
Android: how can i improve the look of an app?
You can put them into an Android Library Project. Here how to use them in Eclipse.

Categories

Resources