我试着用这些台词来做些什么:我可以使用android:hint="Email Address"显示提示,但不能显示辅助文本-这将是您的电子邮件用户名。<android.support.design.widget.TextInputLayout androidapp:et_helper="Username is preferably your regist
我正在实现一个功能,当提示浮起时,将textInputlayout提示文本的大小写改为大写的,反之亦然。为了便于实现,我在我的活动中实现了View.OnFocusChangeListener,例如:
public class LoginActivity extends BaseActivity implements这是非常明显的,因为它返回不能在Framelayout中转换的textInputLayout</
我试图以编程方式更改提示文本大小,但我就是找不到正确的方法。我使用的是setHintTextAppearance,如示例所示,但它只在输入被聚焦或填充了一些数据时才起作用。textInputLayout.setHintTextAppearance(Vabaco_TextInputLayout_hint_small);
EditText a = textInputLayout.getEditText