i use a cool little program called cherrytree[0]. i don't use it on my phone as i really don't use my phone, but i save the password-protected cherrytree data in dropbox and have cherrytree installed on my computers.
edit: to use it with android, it looks like this is the app for that [1]
[0] https://www.giuspen.net/cherrytree/ [1] https://github.com/FFDA/SourCherry/