Proper fix.
This commit is contained in:
parent
0ef8af262f
commit
c7c90ea919
2 changed files with 3 additions and 3 deletions
|
@ -144,7 +144,7 @@ public class NewInsulinDialog extends DialogFragment implements OnClickListener
|
||||||
|
|
||||||
LinearLayout notesLayout = view.findViewById(R.id.newinsulin_notes_layout);
|
LinearLayout notesLayout = view.findViewById(R.id.newinsulin_notes_layout);
|
||||||
notesLayout.setVisibility(SP.getBoolean(R.string.key_show_notes_entry_dialogs, false) ? View.VISIBLE : View.GONE);
|
notesLayout.setVisibility(SP.getBoolean(R.string.key_show_notes_entry_dialogs, false) ? View.VISIBLE : View.GONE);
|
||||||
notesEdit = view.findViewById(R.id.newcarbs_notes);
|
notesEdit = view.findViewById(R.id.newinsulin_notes);
|
||||||
|
|
||||||
setCancelable(true);
|
setCancelable(true);
|
||||||
getDialog().setCanceledOnTouchOutside(false);
|
getDialog().setCanceledOnTouchOutside(false);
|
||||||
|
|
|
@ -157,7 +157,7 @@
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:id="@+id/newcarbs_notes_layout"
|
android:id="@+id/newinsulin_notes_layout"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_marginBottom="5dp"
|
android:layout_marginBottom="5dp"
|
||||||
|
@ -174,7 +174,7 @@
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
android:id="@+id/newcarbs_notes"
|
android:id="@+id/newinsulin_notes"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="text|textCapSentences" />
|
android:inputType="text|textCapSentences" />
|
||||||
|
|
Loading…
Reference in a new issue