if(getActivity().findViewById(R.id.layoutMain).getTag().equals("main-layout-large")
&& Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
LinearLayout noteViewEdit = (LinearLayout) getActivity().findViewById(R.id.noteViewEdit);
LinearLayout noteList = (LinearLayout) getActivity().findViewById(R.id.noteList);
noteList.animate().z(0f);
<BUG>noteViewEdit.animate().z(35f);
}</BUG>
noteContents = (TextView) getActivity().findViewById(R.id.textView);
filename = getArguments().getString("filename");
try {

if(getActivity().findViewById(R.id.layoutMain).getTag().equals("main-layout-large")
&& Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
LinearLayout noteViewEdit = (LinearLayout) getActivity().findViewById(R.id.noteViewEdit);
LinearLayout noteList = (LinearLayout) getActivity().findViewById(R.id.noteList);
noteList.animate().z(0f);
noteViewEdit.animate().z(getResources().getDimensionPixelSize(R.dimen.note_view_edit_elevation));
}
noteContents = (TextView) getActivity().findViewById(R.id.textView);
filename = getArguments().getString("filename");
try {
