stephentuso / welcome-android

A customizable welcome screen

Home Page:https://stephentuso.github.io/welcome-android/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bottom Bar Background

salmanseifian opened this issue · comments

we can't change the bottom bar background for each page. I used FullscreenParallaxPage with customize layout, but botttom bar can't change according to color of current page.

Right now to change the whole background color you need to use the background method as shown here. The ViewPager is above the the bottom bar, so setting the background in the fragment layout won't affect the bottom bar.

It would be a good idea to extend the pager down behind the bottom bar and allow backgrounds to be set in the fragments, although some margins would have to be added to the current layouts and that could also potentially mess up the layouts of anyone currently using the library, so I'd consider that a breaking change. I'd like to consolidate all breaking changes into one update, so that might be available in a week or two.

Thanks dear Stephen @stephentuso