grey out text color of key creation date for disabled items

This commit is contained in:
Vincent Breitmoser
2015-07-08 15:14:38 +02:00
parent e51d443154
commit a74d86c3d8

View File

@@ -187,6 +187,7 @@ public class KeyAdapter extends CursorAdapter {
mCreationDate.setText(context.getString(R.string.label_key_created,
dateTime));
mCreationDate.setTextColor(context.getResources().getColor(textColor));
mCreationDate.setVisibility(View.VISIBLE);
} else {
mCreationDate.setVisibility(View.GONE);