View recycling in Gallery

Did you know that view recycling in Gallery is not implemented?!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 (


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?

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>

That’s it! Gradient is gone!


© 2019 Android Tales

Theme by Anders NorenUp ↑