腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
如何
像
android
:
password
="
true
“
一样
动态地
将
密码
属性
设置
为
EditTextPreference
?
、
如何
将此
EditTextPreference
设置
为
android
:
password
="
true
"?
EditTextPreference
editTextPreference
= new
EditTextPreference
(screen.getContext());
editTextPreference
.setKey("
password
&quo
浏览 4
提问于2017-08-06
得票数 0
回答已采纳
4
回答
EditTextPreference
inputType=textPassword不工作
、
、
、
我已经使用该模板创建了一个SettingsActivity,并在我的root_preferences.xml中放置了一个
EditTextPreference
。它应该包含一个
密码
,所以我这样编辑它: <PreferenceScreen xmlns:
android
="http://schemas.
android
.com/apk/res/
android
" xmlns:app="http://schemas.
浏览 87
提问于2020-02-02
得票数 3
回答已采纳
1
回答
一种字符要求最小的
EditTextPreference
、
、
、
我有一个
EditTextPreference
,我可以使用它来
设置
一个应用程序的
密码
。我想要四位数的
密码
。我在xml文件中
设置
了maxLength = "4"。以下是我所拥有的:
android
:defaultValue=""
浏览 0
提问于2013-12-28
得票数 0
回答已采纳
5
回答
我们
如何
在
EditTextPreference
中使用
android
:inputType?
、
、
我查看了
EditTextPreference
的文档
android
:key="edit"
android
:summary="@string
浏览 0
提问于2015-07-10
得票数 10
回答已采纳
3
回答
如何
从
EditTextPreference
获取更新的文本值-它获取旧值
、
、
我正在尝试使用
EditTextPreference
设置
新
密码
。在这个
Android
4.0.3中,点击
EditTextPreference
会打开一个对话框窗口,用户可以在其中输入文本。public class MyPreferencesActivity extends PreferenceActivity {
EditTextPreference
edp_
password
= (
EditTextPreference
) findPreference(&q
浏览 19
提问于2013-06-17
得票数 1
3
回答
EditTextPreference
密码
字段
我正在尝试包括
密码
的
EditTextPreference
,并希望隐藏字符和显示星号,但无法做到这一点。<?at startup" />
android
:title="UserName"
浏览 3
提问于2018-11-08
得票数 1
6
回答
如何
将
EditTextPreference
用作掩码
密码
文本字段?
、
、
我有一个非常简单的问题:我该怎么做呢?
浏览 0
提问于2011-05-29
得票数 49
回答已采纳
3
回答
如何
在单击确定按钮时更新
EditTextPreference
现有摘要
return
true
; });}<PreferenceScreen xmlns:
android
="http://schemas.
android
.com
android
:summary="Please provide user name" />
android
:title="
Password<
浏览 0
提问于2011-07-15
得票数 4
回答已采纳
5
回答
Android
中首选项活动中的数字首选项
、
、
然而,我在
如何
处理上有点卡住了,我还没有找到一个简单的首选项来处理这个问题,但可能有一个。有没有一种简单的方法来实现这个首选项,并确认输入的数据是整数还是浮动数据?
浏览 2
提问于2010-07-09
得票数 42
回答已采纳
3
回答
如何
隐藏键盘并以编程方式更新
EditTextPreference
?
、
、
、
我正在尝试按照指导方针来实现
设置
活动。我有一个想要保留的
EditTextPreference
,但不是允许用户输入任何值,而是应该通过蓝牙输入(我已经准备好了蓝牙部分)。我已经添加了这些
属性
,但似乎对隐藏键盘没有任何影响(即使我切换它们):
android
:selectable="
true
"
浏览 3
提问于2016-04-25
得票数 0
1
回答
Android
SharedPreferences/PreferenceFragment不工作
、
、
、
、
android
:title="@string/pref_general_category">
android
::defaultValue="@string/pref_apiBaseUri_default"
android
浏览 0
提问于2014-01-23
得票数 3
回答已采纳
1
回答
preferences.xml中来自SQLite的列表
、
我正在开发一个类似上面的首选项屏幕: <
EditTextPreference
android
:name="
Password
"
android
:key="passwordPref"
浏览 2
提问于2012-04-02
得票数 0
5
回答
支持
EditTextPreference
输入类型
、
、
是否有任何方法
为
android
.support.v7.preference.
EditTextPreference
指定输入方法类型?
浏览 6
提问于2016-01-20
得票数 17
回答已采纳
1
回答
手动
设置
的
Android
首选项不会加载到
设置
活动中
、
现在,我有了第二个活动,一个自动生成的SettingsActivity,它看起来
像
这样: package com.aveq.testandroidpacketcapture; startActivityForResult(intent, 0);
将
打开
设置
活动,但其中的值
为
空: ?"
浏览 8
提问于2021-08-24
得票数 -1
回答已采纳
2
回答
为什么当我添加
android
:inputType="textPassword“时,布局中的编辑文本中的
密码
文本会变成这样
、
、
我正在尝试在我的注册页面中添加
密码
和确认
密码
。但是,当我试图使用输入类型
属性
作为
密码
和确认
密码
,编辑文本,而不是文本,我得到了点。="
true
"
android
:layout_marginEnd="44dp"
android
:layout_marginBo
浏览 2
提问于2022-08-12
得票数 0
回答已采纳
1
回答
更改<PreferenceScreen />项的外观
、
、
问题:我的应用程序中的
设置
屏幕在Nexus 7(果冻豆)平板电脑上看起来不错,但几乎无法在摩托罗拉( Motorola )手机上使用。我尝试过定义style.xml资源,并将style=“@StyleName”放在preferences.xml中以更改
android
属性
,但是它没有做任何事情。<?"1"
浏览 0
提问于2013-07-20
得票数 1
3
回答
在焦点更改期间编辑EditText时出现的问题
、
我有两个用户名和
密码
,每个EditTexts的默认文本分别是“输入用户名”和“输入
密码
”。 ((EditText) v).setInputType(InputType
浏览 1
提问于2012-05-04
得票数 0
回答已采纳
9
回答
Android
:
如何
在编辑文本中
设置
密码
属性
?
、
我需要创建一个登录表单与‘用户名’‘
密码
’字段和两个按钮‘登录’和‘取消’在我的
android
应用程序。
Password
.setGravity(Gravity.CENTER); login_alert.addView(
Passw
浏览 2
提问于2011-05-23
得票数 50
回答已采纳
3
回答
加密我的SharedPreference
、
、
我的应用程序使用来自SharedPreferences的两个字符串作为
密码
和个人识别码。我有加载
设置
布局的文件Settings.java。">
android
:key="
password
"
android
:
浏览 0
提问于2014-03-28
得票数 1
1
回答
在不调用PreferenceActivity的情况下转到默认共享首选项
="http://schemas.
android
.com/apk/res/
android
">
android
:defaultValue="http://ser
浏览 1
提问于2011-06-23
得票数 2
回答已采纳
点击加载更多
相关
资讯
1Password 在浏览器测试版中推出对 Passkeys 的支持,对移动设备的支持有限
审阅“史上“最烂的代码
Ruby on Rails教材中文译文 第六章 建立用户模型
HTML常见标签
2019年最差密码排行榜
热门
标签
更多标签
云服务器
ICP备案
对象存储
即时通信 IM
云直播
活动推荐
运营活动
广告
关闭
领券