How to make the android activity title editable?
<p>Can someone help me make the title of my activity editable? I have this note taking app where I want to be able to add a title to the specific note that I want to add. I have tried using the id of the EditText from the menu as label in the Manifest.xml but it doesn’t work.</p>

<p>Sample code for the menu</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;menu  
    xmlns:android="http://schemas.android.com/apk/res/android" 
    xmlns:app="http://schemas.android.com/apk/res-auto"&gt;   

    &lt;item 
        android:title="Ok" 
        android:icon="@drawable/ic_done_white_48dp" 
        android:id="@+id/note_details_save" 
        app:showAsAction="always"/&gt;

    &lt;item 
        android:title="back" 
        android:icon="@drawable/ic_back_button" 
        android:id="@+id/note_details_back" 
        android:orderInCategory="0" 
        app:showAsAction="always"/&gt;

    &lt;EditText 
        android:layout_width="match_parent" 
        android:layout_height="wrap_content" 
        android:id="@+id/note_details_title"/&gt;

&lt;/menu&gt;
</code></pre>