You are looking for an ExpandableListView that allows you to have two levels of extension. Listview (this is what is used in the NotePad example) allows only one level.
I have not started working with them yet, so I canβt recommend any specific lessons or examples, but now that you know the name of what you are looking for, get to the android dev and google website. The first search hit here if it's worth it.
Good luck
Aurora
source share