自定义TextInputLayout android [英] Custom TextInputLayout android
本文介绍了自定义TextInputLayout android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试创建自定义TextInputLayout
.如何在自定义TextInputLayout
下创建?
I am trying to create custom TextInputLayout
. How can I create below custom TextInputLayout
?
推荐答案
您应该对轮廓框"使用材料设计"样式.只是简单的使用:
You should use Material Design style for Outline Box. Just simple use:
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox"
.请参见《材料设计指南》 这篇关于自定义TextInputLayout android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文