diff --git a/app/src/main/java/com/quemb/qmbform/sample/controller/SampleAnnotationFormFragment.java b/app/src/main/java/com/quemb/qmbform/sample/controller/SampleAnnotationFormFragment.java
index dda8ebd..17a2a7b 100644
--- a/app/src/main/java/com/quemb/qmbform/sample/controller/SampleAnnotationFormFragment.java
+++ b/app/src/main/java/com/quemb/qmbform/sample/controller/SampleAnnotationFormFragment.java
@@ -69,6 +69,7 @@ public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
Entry entry = new Entry();
+ entry.display = "Its me";
entry.title = "Hello";
entry.description = "World";
entry.date = new Date();
diff --git a/app/src/main/java/com/quemb/qmbform/sample/model/Entry.java b/app/src/main/java/com/quemb/qmbform/sample/model/Entry.java
index 47ee039..f7f5e2d 100644
--- a/app/src/main/java/com/quemb/qmbform/sample/model/Entry.java
+++ b/app/src/main/java/com/quemb/qmbform/sample/model/Entry.java
@@ -14,6 +14,14 @@
*/
public class Entry implements FormElementDelegate {
+ @FormElement(
+ label = R.string.lb_display,
+ rowDescriptorType = RowDescriptor.FormRowDescriptorTypeDetail,
+ sortId = 0,
+ section = R.string.section_general
+ )
+ public String display;
+
@FormElement(
label = R.string.lb_title,
rowDescriptorType = RowDescriptor.FormRowDescriptorTypeText,
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index b3fb825..9d41bd5 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -17,5 +17,6 @@
Multiple Value
Multiple Value
Add new tag
+ Display
diff --git a/lib/QMBForm/src/main/res/layout/detail_text_field_cell.xml b/lib/QMBForm/src/main/res/layout/detail_text_field_cell.xml
index 6f913ef..be4aad0 100755
--- a/lib/QMBForm/src/main/res/layout/detail_text_field_cell.xml
+++ b/lib/QMBForm/src/main/res/layout/detail_text_field_cell.xml
@@ -8,9 +8,9 @@