diff --git a/app/src/main/java/org/openlp/android2/fragments/SearchFragment.java b/app/src/main/java/org/openlp/android2/fragments/SearchFragment.java
index b75b167..b7252d1 100644
--- a/app/src/main/java/org/openlp/android2/fragments/SearchFragment.java
+++ b/app/src/main/java/org/openlp/android2/fragments/SearchFragment.java
@@ -263,12 +263,12 @@ public class SearchFragment extends Fragment {
}
// Check if an existing view is being reused, otherwise inflate the view
if (convertView == null) {
- convertView = LayoutInflater.from(getContext()).inflate(R.layout.search_result, parent, false);
+ convertView = LayoutInflater.from(getContext()).inflate(R.layout.search_result_row, parent, false);
}
// Lookup view for data population
- //TextView tvItem = (TextView) convertView.findViewById(R.id.searchresultsdetails);
+ TextView tvItem = (TextView) convertView.findViewById(R.id.searchlistRow);
// Populate the data into the template view using the data object
- //tvItem.setText(item);
+ tvItem.setText(item);
// Return the completed view to render on screen
return convertView;
}
diff --git a/app/src/main/res/layout/fragment_search.xml b/app/src/main/res/layout/fragment_search.xml
index 587b649..591aed8 100644
--- a/app/src/main/res/layout/fragment_search.xml
+++ b/app/src/main/res/layout/fragment_search.xml
@@ -83,7 +83,7 @@
android:layout_marginBottom="20dp"
android:textSize="40px"
android:height="70px"
- android:layout_weight="1" />
+ android:layout_weight="1"/>
diff --git a/app/src/main/res/layout/search_result.xml b/app/src/main/res/layout/search_result.xml
new file mode 100644
index 0000000..684cb15
--- /dev/null
+++ b/app/src/main/res/layout/search_result.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/search_result_row.xml b/app/src/main/res/layout/search_result_row.xml
new file mode 100644
index 0000000..20160eb
--- /dev/null
+++ b/app/src/main/res/layout/search_result_row.xml
@@ -0,0 +1,13 @@
+
+
+
+
+
\ No newline at end of file