Search code examples
androidslidingdrawerslidingmenuandroid-sliding

android-how to make a layout on top of every thing and not transpranet


I am working on a bottom toolbar for android by forking the SlidingUpPanel at:

https://github.com/umano/AndroidSlidingUpPanel

I want to make it always on top of every thing not defined in my sliding up panel. But when I slide it up, if there is something behind it, my layout is acting like it's transparent. How can I fix it to act like a real toolbar ?

before sliding : enter image description here

after sliding : enter image description here

source : http://www.4shared.com/rar/jeA2gbZy/androidslidinguppanel-master.html


Solution

  • Set a background to the button and change text color. I dont think they are transparent but the text just has the same color and the button has a transparent background by default.