/* if(readOnlyMode)
{
ViewGroup controlContainer = findViewById(R.id.controlContainer);
LayoutParams layoutParams = new LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
layoutParams.gravity = Gravity.TOP;
View mask = new View(getBaseActivity());
mask.setLayoutParams(layoutParams);
mask.setOnTouchListener(new OnTouchListener() {
@Override
public boolean onTouch(View view, MotionEvent motionEvent) {
return true;
}
});
mask.setBackgroundColor(getResources().getColor(R.color.mask));
controlContainer.addView(mask);
}*/