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:
@@ -130,7 +130,7 @@ public class FeatureListFragment extends BaseFragmentListFragment implements OnC
|
|||||||
|
|
||||||
if(Integer.valueOf(android.os.Build.VERSION.SDK_INT) < 11){
|
if(Integer.valueOf(android.os.Build.VERSION.SDK_INT) < 11){
|
||||||
final TextView t = (TextView) v.findViewById(android.R.id.text1);
|
final TextView t = (TextView) v.findViewById(android.R.id.text1);
|
||||||
t.setTextColor(Color.BLACK);
|
t.setTextColor(isEnabled(position) ? Color.BLACK : Color.GRAY);
|
||||||
}
|
}
|
||||||
|
|
||||||
return v;
|
return v;
|
||||||
|
|||||||
Reference in New Issue
Block a user