Simple layout in activity:
setContentView(R.layout.activity_main);
Layout:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
<com.daimajia.slider.library.SliderLayout
android:id="@+id/slider"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="visible"
/>
Make some device rotations.
10-09 22:10:27.769 8192-8192/com.ww.aeli.memoryleak.app D/dalvikvm﹕ GC_FOR_ALLOC freed 57K, 8% free 2667K/2876K, paused 2ms, total 2ms
and few minutes later
10-09 22:13:54.593 8192-8192/com.ww.aeli.memoryleak.app D/dalvikvm﹕ GC_FOR_ALLOC freed 33K, 1% free 41262K/41448K, paused 7ms, total 9ms
And keep going up with each rotation.
10-09 22:16:13.793 8192-8192/com.ww.aeli.memoryleak.app D/dalvikvm﹕ GC_FOR_ALLOC freed 33K, 1% free 59160K/59348K, paused 7ms, total 9ms
10-09 22:16:15.145 8192-8192/com.ww.aeli.memoryleak.app D/dalvikvm﹕ GC_FOR_ALLOC freed 34K, 1% free 60535K/60724K, paused 20ms, total 20ms