« first day (1539 days earlier)
← previous day
next day →
last day (3635 days later) »
00:00 - 23:00
23:00 - 00:00
Stefano Bee
23:00
I have to go now. If you have any idea, you have the linknof the posted question. Thanks for your time!
Ahmad
23:14
anyone ever get this error?
> Hide on content scroll is not supported in this action bar configuration
I can't find anything on SO about that
trying to get setHideOnContentScrollEnabled(true) to work :s
jlindenbaum
no idea, but what's your action bar configuration? anything non standard?
maybe they won't hide it if there's option items or something? or with a navigation drawer?
Ahmad
ohh never mind I think this only works in API 21+ because you have to call View#setNestedScrollingEnabled(boolean) on the parent
Noah Huppert
lol, that hat fits hilariously well.
Ahmad
so, how do I get this nice actionbar off-scrolling for previous version?
I don't want to animate it because that doesn't look good
I want it inbox-style
Noah Huppert
Try using support libs? Using Toolbar might have something like that
Ahmad
23:19
yeah I'm already using the toolbar
Noah Huppert
Try using
getSupportActionBar().setHideOffset(40)
. 40 is just a guess, but you can tune it.
Ahmad
I tried that noah
still crashes :s
okay here is what I mean, if you don't have the inbox app:
dropbox.com/s/hzcw2zenz40qllr/…
Noah Huppert
Same error?
Ahmad
> Setting an explicit action bar hide offset is not supported in this action bar configuration.
I don't even know why this is in the support package since it says that setNestedScrollingEnabled() has to be called
and that is API 21+
Noah Huppert
weird...
Could you put all your content in a
ScrollView
and have a
RelativeLayout
with your content and align your content above your
Toolbar
?
Ahmad
23:32
can't put it in a scrollview since I'm using a web view
okay then I will have to manually animate it. sigh.
Noah Huppert
You can't just do
this
?
this
*
Ahmad
I'm not sure if this will work since the web view will intercept with the scrollview
but I can give it a try
00:00 - 23:00
23:00 - 00:00
« first day (1539 days earlier)
← previous day
next day →
last day (3635 days later) »
all rooms
Transcript for
Jan
1
Jan '15
2
Jan
3
Android
Don't say hi. Don't ask questions. Don't have fun. Don't do an...
2
1
android
java
kotlin
o/
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile