Coming from Eclipse I now use Android Studio for development. In Eclipse it was always clear which files were not saved, but in Android studio I see no distinction between t
File>Settings>Editor>General>Editor Tabs> then checkMark modified tabs with asterisk>OK
Now, you may also want to do this-
File>Settings>Keymap> search with save document > right clickSave Document>Add Keyboard Shortcut> press Ctrl+S>OK>Remove>OK