1

I have to make my app fully in material design. It should support pre-lollipop devices as well. I tried with one support library found here.

It works fine, but seems to be slow in effects like ripple effects. In some articles, I found we can use

compile "com.android.support:appcompat-v7:21.0.+1"

This dependency like here.

What is the right way to implement material design on older devices? I want to use material items, like Floating action button and all.

galath
  • 5,717
  • 10
  • 29
  • 41

3 Answers3

3

MaterialDesignLibrary by navasmdc seems to be forgoten with 150+ issues reported. It's also known for its conflicts with other libraries, lack of support and poor widget implementation.

Basically it depends on what would you like to achieve. Most of material features is too heavy to be used on older platforms. If you wish to have FloatingActionButton, Toolbar, RecyclerView and theming, you can use the Design Support Library and AppCompat from Google.

If you wish to have shadows, ripples and others, you should look for open-source libraries. Ray's lib is a very good example. Check out awesome-android and Android Arsenal. Both have a good list of material libraries.

I have my own library as well. It's called Carbon and it backports most of material features to Android 2.2+.

Zielony
  • 16,239
  • 6
  • 34
  • 39
1

I have used the support design library, for ripple effects and other good features use rey material library, you can also see navasmdc

Syed Raza Mehdi
  • 4,067
  • 1
  • 31
  • 47
  • Right now I'm using [navasmdc](https://github.com/navasmdc/MaterialDesignLibrary) . But the problem there is ripple effect is so slow. can I use more than one dependency? –  Jul 15 '15 at 10:51
  • yes you can use more then one dependency, i have used rey material in my app and i can control animation time app:mrl_rippleDuration="350" // duration of ripple animation app:mrl_rippleFadeDuration="75" // duration of fade out effect on ripple, i am sure there must be some attribute that you can use to control the animation speed other wise rey is a good go – Syed Raza Mehdi Jul 15 '15 at 10:59
  • in which dependency `app:mrl_rippleDuration="350" ` this is used? –  Jul 15 '15 at 11:21
  • this is a example of https://github.com/balysv/material-ripple but i am sure this attribute must be available for others too – Syed Raza Mehdi Jul 16 '15 at 07:27
0

Easy way to implement material design is to use open source libraries that supports all pre-lollipop devices.

Have a look at this and this.

There are many other libraries as well. You can google it.

Noman Rafique
  • 3,735
  • 26
  • 29