
<androID.support.design.Widget.TextinputLayout androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" app:counterEnabled="true" androID:textcolor="@color/white" androID:textcolorHint="@color/white" > <EditText androID:ID="@+ID/myfIEld" androID:layout_wIDth="match_parent" androID:layout_height="wrap_content" androID:backgroundTint="@color/white" androID:hint="@string/myfIEld_hint" androID:inputType="text" androID:maxLength="26" androID:textcolor="@color/white" androID:textcolorHint="@color/white"/> </androID.support.design.Widget.TextinputLayout>解决方法 请加:
app:counterTextAppearance="@androID:color/white"
到你的TextinputLayout.
希望这可以帮助!
总结以上是内存溢出为你收集整理的android – 如何在TextInputLayout上设置计数器的颜色?全部内容,希望文章能够帮你解决android – 如何在TextInputLayout上设置计数器的颜色?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)