First of all I have made a main layout using xml. This layout contains textView buttons 0,1,2..9, DEL and -
I also have in same layout editText field and random question showing to user(textView).
Now, user should use (touch) textView buttons to enter answer e.g. change text in editText field.
Can anybody advise simplest solution.
Please note that I don't want to create separate keyboard layout for this I just want to use buttons to set text.
I tried doing this by making onclickListener for each button, but app crashes as the activity is not registered in manifest and I am not really sure how to go about it.
1 Replies - 3601 Views - Last Post: 02 April 2012 - 03:03 PM
Replies To: How to make textView button in Android to act as keyboard stroke
Re: How to make textView button in Android to act as keyboard stroke
Posted 02 April 2012 - 03:03 PM
Why do you need to create your own keyboard? If you just need numbers you can stick this in your edit text.
Page 1 of 1