antoniolg / MaterialEverywhere

Showcase of the new AppCompat 21, which includes new Material Theme, working in pre-21 devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Material Design doesn't show up on JellyBean

wingoku opened this issue · comments

I have followed your tutorial step by step but the new material design doesn't show up on Pre-Lollipop devices. I even tried to make a few modifications myself but still it wouldn't color the status bar and ActionBar. It works only colors Toolbar.

If I don't use the ToolBar & don't extend ActoinBarActivity, I get a blank black/white screen depending on which theme dark or light you have chosen with no ActionBar.

What am I missing? I am using eclipse on OSX Mavericks.

Not sure what's your problem, but you need to extend ActionBarActivity because the material compat theme is in AppCompat library. Then your theme must extend Theme.AppCompat. Only with these two things you should get an Activity with material design.

The status bar won't get tinted on pre-Lollipop devices.

I figured out the solution. Actually you have to extend Theme.AppCompat in every value folder (at least in eclipse). Though the status bar doesn't get tinted, other things get themed by AppCompat except buttons, they still look the same but one can theme them himself.

For FAB I created one for myself and it seems to be working fine. HOwever I still miss the sweet animations Lollipop offers.

@antoniolg if you can create a tutorial regarding the animations & view transitions like Google layout/design page shows or as shown on I/O, that would be great!