Android的 - 的EditText的状态通知状态、通知、Android、EditText

2023-09-04 23:42:42 作者:温柔了眉眼

有谁知道,如果我可以插入一个EditText(插入文本)在Android的通知?我想有一个按钮和一个EditText当按钮pssed然后坐回的EditText文本$ P $。

Does anyone know if I can insert an EditText (for inserting text) on an Android notification? I would like to have a button and an edittext when the button is pressed then get back the text on the edittext.

这是可能的吗?谢谢

推荐答案

这可以在果冻豆来完成,但据我所知没有在之前的版本这一点。由于这是建立在Android系统应该考虑和可以接受的做法。

This can be done in Jelly Bean but as far as I know not in version prior to that. Since this is built in to the android system it should be considered and acceptable practice.

从Android博客:

From the android blog:

双向文本支持:安卓4.1可帮助您通过支持吸引更多的用户为在TextView中和的EditText元素双向文本

Bi-directional text support: Android 4.1 helps you to reach more users through support for for bi-directional text in TextView and EditText elements.

Android的博客帖子,提到了这种能力

下面是是,你可以了解创建自定义通知布局