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);
noteViewEdit.animate().z(0f);
<BUG>noteList.animate().z(45f);
}</BUG>
}
@Override
public void onStart() {

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);
noteViewEdit.animate().z(0f);
noteList.animate().z(getResources().getDimensionPixelSize(R.dimen.note_list_elevation));
}
}
@Override
public void onStart() {
