eclipse android textinputlayout cannot instantiate the class on designer, inflater error on runtime
<p>how to properly use the textinputlayout? what has been tried are as follows:</p>

<ul>
<li>import the appcompat project import as library, import the support design jar</li>
<li>import the appcomtap project import as library, import the support design project import as library.</li>
</ul>

<p>both produced the error  <code>No 'id' attribute supplied &lt;public&gt;, and no previous id defined in this file.</code> this files are from support design -> res-public -> public_attr, public_string and public_styles.</p>

<p>if I did not included them, it says like missing backgroundTint.</p>

<p>the manifest file uses sdk min 11, target version is 22. the appcompat and support design is also 22 (tried 23 for all of them non worked).</p>

<p>also updated the support library to latest</p>

<p>what is the correct steps?</p>