This repository was archived by the owner on Mar 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +11
-9
lines changed
java/not/naught/knot/notre/newt/knock/note Expand file tree Collapse file tree 5 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ class AddNoteFragment : Fragment() {
104104 }
105105
106106 MaterialAlertDialogBuilder (requireContext())
107+ .setIcon(android.R .drawable.ic_menu_save)
107108 .setTitle(resources.getText(R .string.add_note_discard_title))
108109 .setMessage(resources.getText(R .string.add_note_discard_content))
109110 .setPositiveButton(resources.getText(R .string.yes)) { _, _ ->
Original file line number Diff line number Diff line change @@ -27,10 +27,8 @@ class MenuFragment : Fragment() {
2727 inflater : LayoutInflater , container : ViewGroup ? ,
2828 savedInstanceState : Bundle ?
2929 ): View {
30-
3130 _binding = FragmentMenuBinding .inflate(inflater, container, false )
3231 return binding.root
33-
3432 }
3533
3634 override fun onViewCreated (view : View , savedInstanceState : Bundle ? ) {
Original file line number Diff line number Diff line change 3737 app : layout_constraintStart_toStartOf =" parent"
3838 app : layout_constraintEnd_toEndOf =" parent"
3939
40- android : importantForAutofill =" no" />
40+ android : importantForAutofill =" no"
41+ android : inputType =" text"
42+ tools : text =" @tools:sample/lorem" />
4143
4244 <TextView
4345 android : id =" @+id/textViewContent"
6870
6971 android : inputType =" textMultiLine"
7072 android : ems =" 10"
71- android : importantForAutofill =" no" />
73+ android : importantForAutofill =" no"
74+ tools : text =" @tools:sample/lorem/random" />
7275
7376</androidx .constraintlayout.widget.ConstraintLayout>
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<androidx .core.widget.NestedScrollView
33 xmlns : android =" http://schemas.android.com/apk/res/android"
4- xmlns : app =" http://schemas.android.com/apk/res-auto"
5- xmlns : tools =" http://schemas.android.com/tools"
6- android : layout_width =" match_parent"
4+ xmlns : app =" http://schemas.android.com/apk/res-auto"
5+ xmlns : tools =" http://schemas.android.com/tools"
6+ android : layout_width =" match_parent"
77 android : layout_height =" match_parent"
8- tools : context =" .MenuFragment" >
8+ tools : context =" .MenuFragment" >
99
1010 <androidx .constraintlayout.widget.ConstraintLayout
1111 android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 44 android : id =" @+id/nav_graph" app : startDestination =" @id/menuFragment" >
55
66 <fragment android : id =" @+id/menuFragment" android : name =" not.naught.knot.notre.newt.knock.note.MenuFragment"
7- android : label =" @string/fragment_menu " tools : layout =" @layout/fragment_menu" >
7+ android : label =" " tools : layout =" @layout/fragment_menu" >
88
99 <action android : id =" @+id/action_menuFragment_to_addNoteFragment" app : destination =" @id/addNoteFragment" />
1010 <action android : id =" @+id/action_menuFragment_to_viewNotesFragment" app : destination =" @id/viewNotesFragment" />
You can’t perform that action at this time.
0 commit comments