java - Changing background colors affects unrelated views in another activity -


i'm having weird issue in android app i'm developing.

the short story background colors set programmatically in 1 activity appearing on unrelated views in activity.

basically, in 1 activity have listview in user can select or unselect item tapping it. when selected, item highlighted orange background. background color set programmatically via listadapter.

the user may navigate second activity different layout in every view supposed have white background (this set in appropriate style/layout xml files). however, sometimes, entire background of second activity turns same orange color highlighted listview items in first activity. in second activity background colors set programmatically, have no idea how they're changing color @ all, let alone why they're turning orange.

if that's not weird enough, consistently happens on 1 device (a droid razr maxx android 4.1.2) out of 10-15 devices of varying manufacturers , android versions i've tested app on far. other on razr, i've seen happen once on 1 other device. , on one, after selecting/unselecting different listview items , going , forth between activities couple times, issue disappeared , couldn't reproduce again.

anybody have idea might going on?


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -