android - Custom view loses background resource when not in view -
so, i'm adding ad either admob or mmads, or have mmads interstitial ad come up, , on exit, or touch 1 of list items, starting new activity, @ end of activity, happens:
http://i.imgur.com/zq7vvkq.png
the top item doesn't have background resource being drawn, bottom similar this. happens ones in middle (with ads, go away).
i wondering why happens , how prevent it... find on other questions 1 on using following code on listview:
android:cachecolorhint="#00000000"
or
android:scrollingcache="false"
the background resource being drawin in custom listadapter's getview(int, view, viewgroup) method.
any appreciated,
justin w.
to verify problem try run hierarchyviewer
, analize views tree , try find potential solution. have used hierarchy viewer?
Comments
Post a Comment