Making textinputlayout uneditable and setting click event on it : <p>I want to make textinputlayout uneditable by user and when user click on it i want to perform an action.
I added <code>android:focusable="false"</code> inside edittext of textinputlayout to make it uneditable but now when i click on it it is not getting callback inside onclicklistener of textinputlayout.</p>

<pre><code>   &lt;android.support.design.widget.TextInputLayout
        android:id="@+id/tipVideoFilePath"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignBottom="@+id/uploadVideo"
        android:layout_toLeftOf="@+id/uploadVideo"&gt;

    &lt;EditText
        android:id="@+id/etVideoFilePath"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingLeft="@dimen/dp5"
        android:singleLine="true"
        android:focusable="false"
        android:hint="@string/videoPath"
        android:textColor="@color/black"/&gt;
&lt;/android.support.design.widget.TextInputLayout&gt;
</code></pre>
