if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
LinearLayout layout = (LinearLayout) findViewById(R.id.noteViewEdit);
LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) layout.getLayoutParams();
params.setMargins(0, 0, 0, 0);
layout.setLayoutParams(params);
<BUG>getActionBar().setElevation(15f);
}</BUG>
SharedPreferences prefMain = getPreferences(Context.MODE_PRIVATE);
if(prefMain.getInt("first-run", 0) == 0) {
DialogFragment firstRun = new FirstRunDialogFragment();

if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
LinearLayout layout = (LinearLayout) findViewById(R.id.noteViewEdit);
LinearLayout.LayoutParams params = (LinearLayout.LayoutParams) layout.getLayoutParams();
params.setMargins(0, 0, 0, 0);
layout.setLayoutParams(params);
getActionBar().setElevation(getResources().getDimensionPixelSize(R.dimen.action_bar_elevation));
}
SharedPreferences prefMain = getPreferences(Context.MODE_PRIVATE);
if(prefMain.getInt("first-run", 0) == 0) {
DialogFragment firstRun = new FirstRunDialogFragment();
