Fix layout-preview & CustomTextView.