How to click on an element in a list in robot framework

This should work. Assuming that the list line element is of profile icon (It was unclear for me from the HTML you pasted, but you may better figure out on your application by inspecting it). If needed be, you may apply a Sleep of 1-2 sec in between the two lines

Click Element       xpath: //*[@title='Profile']
Click Element       id: settings

P.S. I am assuming that you have imported all the required libraries for this (in fact, it is only SeleniumLibrary that is required for these two lines)