Categorydraw

View recycling in Gallery

Did you know that view recycling in Gallery is not implemented?

https://groups.google.com/forum/#!topic/android-developers/mpvkI_za25g

“This is a known “bug” (it’s not a bug really, we just never had the
time to implement recycling in Gallery) but we have no ETA for a fix.” (c) Romain Guy

Custom solution can be found here http://pastebin.com/FWyYTt4D (http://goo.gl/lm6st)

//DL

Remove small gradient at the top of the screen

I know You always wanted to do that! Remember small gradient at the top of the window? http://stackoverflow.com/questions/2931953

Just add this simple line to the theme and apply it to your Activity:

<style name="Theme.Foo" parent="android:style/Theme.Light">
    <item name="android:windowContentOverlay">@null</item>
</style>

That’s it! Gradient is gone!

//DL

© 2019 Android Tales

Theme by Anders NorenUp ↑