Disabled Items Are Now Grey In Feature List on older devices

closes #75

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-05-25 22:50:27 -04:00
parent 01af5297fc
commit 8b7cc1aa82

View File

@@ -130,7 +130,7 @@ public class FeatureListFragment extends BaseFragmentListFragment implements OnC
if(Integer.valueOf(android.os.Build.VERSION.SDK_INT) < 11){
final TextView t = (TextView) v.findViewById(android.R.id.text1);
t.setTextColor(Color.BLACK);
t.setTextColor(isEnabled(position) ? Color.BLACK : Color.GRAY);
}
return v;