How to always show dialog box to fill text in form fields on Android?

Q: Can I configure to always have a dialog box to fill text in form fields?
A: In Tools source code, FormFill.java, you can decide whether to use inline edit or pop up dialog:

else if (field_type == pdftron.PDF.Field.e_text) {
mIsMultiLine = mField.getFlag(Field.e_multiline);
boolean inline_edit = canUseInlineEditing();
if (!inline_edit) {
// Pop up a dialog for inputting text
final DialogFormFillText d = new DialogFormFillText(mPDFView, mAnnot, mAnnotPageNum);
d.show();
} else {
// Inline editing
handleTextInline();
}
}

Where do i find FormFill.java o DialogFormFillText?
Il giorno sabato 28 giugno 2014 01:44:45 UTC+2, Shirley Gong ha scritto:

Q: Can I configure to always have a dialog box to fill text in form fields?

A: In Tools source code, FormFill.java, you can decide whether to use inline edit or pop up dialog:

else if (field_type == pdftron.PDF.Field.e_text) {
mIsMultiLine = mField.getFlag(Field.e_multiline);
boolean inline_edit = canUseInlineEditing();
if (!inline_edit) {
// Pop up a dialog for inputting text
final DialogFormFillText d = new DialogFormFillText(mPDFView, mAnnot, mAnnotPageNum);
d.show();
} else {
// Inline editing
handleTextInline();
}
}

FormFill.java is located in the Tools source code in the distribution package:
lib\src\PDFViewCtrlTools\src\pdftron\PDF\Tools

field is not saved when I change the value typed in DialogBox .how can I do?

Il giorno sabato 28 giugno 2014 01:44:45 UTC+2, Shirley Gong ha scritto:

Q: Can I configure to always have a dialog box to fill text in form fields?

A: In Tools source code, FormFill.java, you can decide whether to use inline edit or pop up dialog:

else if (field_type == pdftron.PDF.Field.e_text) {
mIsMultiLine = mField.getFlag(Field.e_multiline);
boolean inline_edit = canUseInlineEditing();
if (!inline_edit) {
// Pop up a dialog for inputting text
final DialogFormFillText d = new DialogFormFillText(mPDFView, mAnnot, mAnnotPageNum);
d.show();
} else {
// Inline editing
handleTextInline();
}
}

Can you describe in detail what you are trying to achieve and how it is done right now?
Any code snippet? Thanks.