remove "newNote" dialog title

This commit is contained in:
Aran Zaiger 2016-07-10 13:19:07 +03:00
parent 21bf1c7b9d
commit a07934595c

View file

@ -220,8 +220,8 @@ public class PersonalFragment extends Fragment {
//create and configure dialog
final Dialog dialog = new Dialog(getActivity());
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
dialog.setContentView(R.layout.note_view_full);
dialog.setTitle("New Note");
WindowManager.LayoutParams lp = new WindowManager.LayoutParams();
lp.copyFrom(dialog.getWindow().getAttributes());
lp.width = WindowManager.LayoutParams.MATCH_PARENT;