سؤال

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

هل كانت مفيدة؟

المحلول 2

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.

نصائح أخرى

Add a onClickListener to the root view of sliding up pannel.I did that and it works well, hope it works for you too.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top