How to add another tooltip to the EditText component that will respond as a tooltip, but on the other, as the default tooltip.
For example: the field name is a city, so I would like the main hint in black to be displayed as βcityβ, and in light blue I would like it to be written out as βclick to select cityβ.
Are there any ready made components or xml attributes for this? Is this the case when I need Java code and implement onfocus and show / hide another TextView that will react as a label?
I got this as strings.xml:
<string name="fld_fullname">
<![CDATA[
<font color="#8B8B8B">City</font> <font color="#BABABA">tap to change</font>
]]>
</string>
and this is in the Java code:
etCity.setHint(Html.fromHtml(getString(R.string.fld_city)));
Now, how can I take the color from colors.xml? Can I use placeholders or is there a better way? Request best practice ...