In Android we have the facility to set an icon for the title bar.
In the below image the title bar contains only the title.
Title name is Iconic Memory
To set an icon in the title bar use the below piece of code...
public void onCreate(Bundle savedInstanceState)