腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(2525)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
TextInputLayout
变更主题
有谁知道如何将
TextInputLayout
从浅色主题更改为深色主题,如下面链接的设计规范所示?<android.support.design.widget.
TextInputLayout
android:layout_heightmatch_parent" </android.sup
浏览 1
修改于2015-12-13
得票数 1
1
回答
TextinputLayout
颜色
我们有没有可能在不旋转主题的情况下改变
TextinputLayout
的底线颜色(也不使用(android/app):theme,但在视图上)。我们就不能通过
TextInputLayout
上的样式attribut或者是*EditText儿子来做吗?
浏览 3
提问于2016-05-06
得票数 1
回答已采纳
7
回答
TextInputLayout
禁用动画
我正在使用
TextInputLayout
来实现浮动标签模式。但是,当我以编程方式在EditText上设置文本时,仍然会看到标签的动画从控件移动到标签--就像用户单击了它一样。这是我的代码: android:layout_width="match_parent" android:id="@+id/ed
浏览 10
提问于2015-06-08
得票数 30
回答已采纳
1
回答
自定义
TextInputLayout
我希望让我的CustomTextInputLayout将Widget.MaterialComponents.
TextInputLayout
.OutlinedBox作为默认样式,而不需要在XML中任何地方定义它= null, defStyleAttr: Int = 0 ) :
TextInputLayout
(ContextThemeWrapper(context, R.style.Widget_MaterialComponents_
TextInputLayout
_OutlinedBox= null, defStyleAttr: Int = 0
浏览 0
提问于2020-06-19
得票数 3
1
回答
TextInputLayout
造型
我对我的定制
TextInputLayout
有问题。这是我的密码 android:id="@+id/phone" android:singleLine="true" /> </com.google.android.material.textfield
浏览 1
修改于2019-09-05
得票数 5
回答已采纳
1
回答
TextInputLayout
文本的约束元素(在
TextInputLayout
中)
我有一个
TextInputLayout
,里面只有一个EditText。我有兴趣在其中添加一个TextView,作为一个潜在的错误文本(例如,“无效的电子邮件”),并具有以下约束: 1.我的TextView结束到
TextInputLayout
的末尾。
浏览 1
提问于2019-01-19
得票数 0
回答已采纳
2
回答
OutlinedBox,
TextInputLayout
和重心?
如何用
TextInputLayout
实现居中新的OutlinedBox样式 <android.support.design.widget.
TextInputLayout
android:id=“@+id/
textInputLayout
2 2”style="@style/Widget.MaterialComponents.
TextInputLayout
.OutlinedBox“androidmatch_parent android:layout_height=wra
浏览 1
修改于2020-06-20
得票数 17
回答已采纳
1
回答
TextInputLayout
不刷新提示
我正在尝试从新的Design API
TextInputLayout
实现新的小部件,但我遇到了一个问题:首先,我在片段中加载布局,然后,当我单击一个按钮并想要更改
TextInputLayout
的提示时,下面是我的代码:Button button; ...
textInputLayout
= (
TextInputLayout
) layout.findViewById(R.id.text
浏览 1
修改于2016-02-11
得票数 1
2
回答
TextInputLayout
"setText“函数
但是,当它用于
TextInputLayout
字段时,它会显示错误。是否有任何用于
TextInputLayout
的等效函数。
TextInputLayout
nameItem, amountItem, dateItem;protected
浏览 1
提问于2020-06-27
得票数 1
1
回答
TextInputLayout
正在覆盖TextInputEditText
> android:id="@+id/
textInputLayout
2> android:id="@+id/
textInputLayout
3> <com.google.a
浏览 4
修改于2020-07-16
得票数 1
回答已采纳
1
回答
TextInputLayout
自动对焦
我有一个布局,里面只有一个
TextInputLayout
和一个EditText。我在EditText和
TextInputLayout
上都尝试过clearFocus()。我的xml: android:id="@+id/
textInputLayout
"android:hint="Case name" > <
浏览 0
修改于2015-07-21
得票数 5
1
回答
TextInputLayout
文本右对齐
我在
TextInputLayout
中有一个EditText。EditText文本漂浮在右侧。我希望
TextInputLayout
也能效仿。在EditText上使用android:gravity="right"时,文本会右对齐,但这在
TextInputLayout
上不起作用。有什么建议可以让
TextInputLayout
文本向右浮动吗?
浏览 2
提问于2016-03-11
得票数 1
2
回答
TextInputLayout
框颜色
使用下面的xml元素,我可以正确地将
TextInputLayout
框涂成白色,但那只是在单击它之后。初始颜色仍为默认颜色。<com.google.android.material.textfield.
TextInputLayout
android:maxLines="1&quo
浏览 75
修改于2019-09-11
得票数 1
2
回答
NullPointerException on
TextInputLayout
现在,我面临着
TextInputLayout
的一个问题。我有以下代码:@Bind(R.id.login_input_user)
TextInputLayout
login_input_password;
浏览 3
修改于2017-11-23
得票数 1
回答已采纳
1
回答
在
TextInputLayout
android中使用“
TextInputLayout
”时不可显示的绘图
当我将app:passwordToggleEnabled="true"用于
TextInputLayout
时,左边的绘图就不再显示了。以下是我的xml代码: android:layout_width="match_parent"textPassword"
浏览 0
修改于2017-04-12
得票数 1
回答已采纳
1
回答
TextInputLayout
中的endIconMode
我在
TextInputLayout
和TextInputEditText内部工作。我在
TextInputLayout
中使用了app:endIconMode,然后到提示和基线的距离比以前更大了,如何检索这个距离?这是我的代码: app:endIconMode="clear_textandroid:textColor="#FF192331" />
浏览 26
修改于2019-07-12
得票数 1
回答已采纳
2
回答
TextInputLayout
不会设置errorIconDrawable
当我将style="@style/Widget.Design.
TextInputLayout
"用于
TextInputLayout
时,设置app:errorIconDrawable什么也不做。Theme.MaterialComponents.Light.NoActionBar,但我不想使用这种样式,特别是下划线与文本不一致: android:lay
浏览 3
修改于2020-08-14
得票数 1
回答已采纳
3
回答
TextInputLayout
不能正常工作
当我将FocusChanged FocusChanged设置为
TextInputLayout
中的EditText )时,
TextInputLayout
不能正常工作,而的浮动文本总是保持在带有重音颜色的编辑文本的顶部(
TextInputLayout
不更新自身)我正在用xamarin制作我的应用程序,但是如果你给我java代码的话,就没有问题了,。
浏览 4
修改于2015-08-05
得票数 1
回答已采纳
1
回答
TextInputLayout
标签颜色不变
我正在尝试更改
textInputLayout
标签/提示颜色。我看到它遵循colorPrimary,所以我应用了一个样式,在其中我设置了原色,但它不起作用。我的xml- android:layout_width="match_parent"layout_height="match_parent" android:id="@+id/edittext&quo
浏览 0
修改于2018-12-26
得票数 1
16
回答
更改
TextInputLayout
轮廓颜色
我正在尝试定制一个具有材质风格的
TextInputLayout
。我设法将焦点状态设置为我想要的颜色:使用 style="@style/这里的风格是: <style name="LoginTextInputLayoutStyle" parent="Widget.MaterialComponents.
TextInputLayout
.OutlinedBox
浏览 14
修改于2021-11-06
得票数 98
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券