@@ -65,6 +65,8 @@ class NotesFragment : BaseFragment(), OnShitDoneToNotesListener {
val itemTouchHelper = ItemTouchHelper(simpleItemTouchCallback)
itemTouchHelper.attachToRecyclerView(notes_fragment_list)
+
+ notes_fragment_create_note.setOnClickListener(Navigation.createNavigateOnClickListener(R.id.action_notesFragment_to_noteFragment))
}
@@ -15,5 +15,7 @@
<TextView
android:id="@+id/notes_fragment_list_item_snippet"
android:layout_width="match_parent"
+ android:ellipsize="end"
+ android:maxLines="5"
android:layout_height="wrap_content" />
</LinearLayout>