fran
fran

Reputation: 1129

Backward compatibility Material Design

As Google says in this page, Material Theme is only available on Android L Developer Preview. But how can these apps work on previous version of Android L?

https://play.google.com/store/apps/details?id=com.borggren.notes

http://officialandroid.blogspot.it/2014/10/a-new-look-for-google-play-newsstand.html

There are other apps.

Do they use some components similar to material design?

Don't they use the "android:Theme.Material"?

Or is there a way to use Material Theme on previous versions (and I am the only one who doesn't know how to do this)?

Upvotes: 0

Views: 619

Answers (1)

nick92
nick92

Reputation: 46

I think they are using the components not the theme itself. If you try to give this theme as your overall theme in studio without the minSDK =21 it gives you an error. They are trying to emulate the material design.

For example if you want the floating action bar you can use this project. https://github.com/FaizMalkani/FloatingActionButton

I guess he uses frame layout to emulate that button on the lower right corner. Have a look!!

Upvotes: 1

Related Questions