Android - EditText on status notification

后端 未结 3 1093
忘了有多久
忘了有多久 2021-01-02 19:06

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 g

3条回答
  •  庸人自扰
    2021-01-02 19:59

    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.

    From the android blog:

    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 blog post that mentions this capability

    Here is were you can learn about "Creating a Custom Notification Layout"

提交回复
热议问题