remove "newNote" dialog title
This commit is contained in:
parent
21bf1c7b9d
commit
a07934595c
1 changed files with 1 additions and 1 deletions
|
@ -220,8 +220,8 @@ public class PersonalFragment extends Fragment {
|
||||||
|
|
||||||
//create and configure dialog
|
//create and configure dialog
|
||||||
final Dialog dialog = new Dialog(getActivity());
|
final Dialog dialog = new Dialog(getActivity());
|
||||||
|
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
|
||||||
dialog.setContentView(R.layout.note_view_full);
|
dialog.setContentView(R.layout.note_view_full);
|
||||||
dialog.setTitle("New Note");
|
|
||||||
WindowManager.LayoutParams lp = new WindowManager.LayoutParams();
|
WindowManager.LayoutParams lp = new WindowManager.LayoutParams();
|
||||||
lp.copyFrom(dialog.getWindow().getAttributes());
|
lp.copyFrom(dialog.getWindow().getAttributes());
|
||||||
lp.width = WindowManager.LayoutParams.MATCH_PARENT;
|
lp.width = WindowManager.LayoutParams.MATCH_PARENT;
|
||||||
|
|
Loading…
Reference in a new issue