Vertical Text Aligment for Key Label in Softkeyboard example

by Wik » Wed, 20 Jan 2010 02:06:34 GMT


Sponsored Links
 Would there anyway to display the text for key label in vertical
aligment?
For example, display
1
2
3
in a single key instead of 123.
I tried to use \n between the numbers but it didn't work.
Would there have any other way to make the text be vertical aligment
or create a table form inside a single key?

P.S. I want it to be text instead of image.

Thanks a lot.



Other Threads

1. How to save state of message queue?

I'm not sure how to preserve the state of the message queue between
instantiations of the application.

To take the example of my app, I have a Service that starts a
background thread. It creates a Handler for that thread which is
subsequently used by Activities to post messages for background
processing. Now, what happens if Android decides to kill the process
while there are still messages in the queue? The onDestroy() method of
the Service seems like the right place to deal with this, by, say,
stopping the looper and the background thread, and then saving any
unprocessed messages into persistent storage, so that when the Service
is recreated it can prepopulate the queue with the saved messages.

But looking at the API for Handler, Looper, and MessageQueue it's not
obvious how I can do this. What is the right way to save this state?

--~--~---------~--~----~------------~-------~--~----~

2. How do you share data across multiple Services?

...and access database through content provider.





--~--~---------~--~----~------------~-------~--~----~

3. how get data from another application?

4. Drag and drop in Android

5. How to include the code under code.google.com ?

6. Upper limit size of ImageView?

7. Who is responsible for closing FilterableListAdapters on AutoCompleteTextView