Ellipsize for EditText
<p>Ellipsize for EditText works only with </p>

<ul>
<li>inputType - none</li>
<li>editable  - false</li>
</ul>

<p>But this is making my EditText uneditable.
How can this be handled considering localization also.</p>

<p>Expected behavior:  </p>

<ul>
<li>Text in EditText should be shown with ellipses.</li>
<li>EditText should be editable.</li>
</ul>

<p>Tried these but no success:</p>

<ul>
<li>setEllipsize(TextUtils.TruncateAt.END) as per <a href="https://developer.android.com/reference/android/widget/EditText.html#setEllipsize(android.text.TextUtils.TruncateAt)" rel="nofollow noreferrer">setEllipsize</a></li>
<li><code>android:ellipsize="end"
 android:singleLine="true"</code></li>
</ul>