&& 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 = (EditText) getActivity().findViewById(R.id.editText1);
try {
if(!getArguments().getString("filename").equals("new")) {

&& 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 = (EditText) getActivity().findViewById(R.id.editText1);
try {
if(!getArguments().getString("filename").equals("new")) {
