Android: Keyboard input adds new textview

I would like to write 3 different variations of a program in android studio where the user enters input into a editText window/widget, and when the ENTER key is pressed on a physical keyboard, each of the following will occur(each point would be a separate variations of this program):

  • Places a textview that contains the user input underneath the editText(Dynamically?)
  • Place a textview that contains the user input over the existing editText
  • Opens a new activity/tab that contains a textview with the user input
  • 链接地址: http://www.djcxy.com/p/93032.html

    上一篇: 当设备处于横向模式时显示软键盘

    下一篇: Android:键盘输入添加新的textview