问题标签 [edittextpreference]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - EditTextPreference 保留最后一个值作为提示
我有这个编辑文本首选项
它保留最后添加的值。如何从中删除提示?
java - 如何在 SettingsActivity for Android 中进行密码更改提示确认?
我在 Android Studio 中有一个设置活动和一个密码列表项,单击时会提示与密码EditTextPreference
对话。InputType
我怎样才能使当用户输入密码时,会弹出另一个对话框,要求用户确认密码更改。
或者更好的是,如何EditTextPreference
在同一个对话框中制作多行并提示输入旧密码、新密码、确认新密码?
我在主要活动的 onCreate 中添加了以下内容
但是应用程序的行为没有变化。我关注的 listItem 是从顶部开始的第二个,所以大概位置 == 1。
android-imagebutton - ImageButton in EditText
What is the code to make an image button to stay at the top right of an EditText even when scrolled instead of following data input causing a messy appearance?
android - 我们如何在 EditTextPreference 中使用 android:inputType?
我检查了 EditTextPreference http://developer.android.com/reference/android/preference/EditTextPreference.html的文档
但我没有在那里找到 android:inputType 属性。那么如何在这个代码段中使用它
对 android:singleLine 属性有同样的疑问。
android - 无法在支持库 EditTextPreference 上设置单行
我目前正在使用 EditTextPreference 的支持库版本,我无法将编辑文本对话框设置为单行。下面是我的代码取自settings.xml
:
如您所见,我什至添加imeOptions="actionDone"
了强制键盘不显示ENTER
键,但即使 imeOptions 也不起作用。
帮助。
android - EditTextPreference 更改值
我在 EditTextPreference 输入对话框中输入了一个值。如果我在触摸 EditTextPreference 后再次打开对话框,则会显示第一个值。
问题是,如何设置对话框第二次打开时显示的另一个值?
谢谢!!
android - 是否可以在 EditTextPreference 上设置监听器?
我目前有一个由一个 EditTextPreference 组成的 Settings Preference Activity。我想在对话框关闭时有一个监听器,所以我可以运行一些代码
我已经尝试了这里列出的一些方法:http: //developer.android.com/reference/android/preference/EditTextPreference.html,但没有运气。
我错过了什么吗?
编辑:
例如,我使用了这种方法,每次关闭对话框时都应该打印标签,但它不像我想象的那样工作
android - Android support EditTextPreference input type
Is there any way to specify the input method type for android.support.v7.preference.EditTextPreference
?
xml - 将字符串添加到对话框后,我的 EditTextPreference 没有更新
我使用下面的代码向我的 Settings.xml 添加了一个 EditTextPreference
当我运行它时,会出现对话框,但是当我添加我的名字时它不会更新并且仍然说“请添加..”我遗漏了什么?