suspend layout method in Android

by dave » Wed, 01 Sep 2010 05:19:21 GMT

Sponsored Links

I am trying to take control of the repainting of the view components.
I know in windows mobile sdk, there is a method of suspending layout,
and after the components are placed well, I can call resume layout
then to pain the whole screen in one shot.

Are there similar API in android SDK, or other ways to do it ?

Thank you very much.



Other Threads

1. Forcing an activity to reload completely?


I have an application, where I need to change the language through a
settings menu.  Now this part works perfectly, but it doesn't change
the language for activities that have gone through onCreate.

I got a TabHost, and 2 tabs in it, from the tabs you can get to

Refreshing the TabHost isn't an issue, as it's fairly small, however
both the 2 tabs are quite large views, and having a function to
manually update all the strings seem unnecessarily difficult.  Is
there any way to force the activity to recreate itself and trigger a
new onCreate?

I tried having a static function in the tabhost that clears all tabs
and recreates them, this refreshes the tab titles, but not the content
in the tabs.

Anders Aagaard


2. TrackBall 'flinging'


In android address book, I can 'fling' with a TrackBall. i.e. the
ListView page up/down if I 'fling' with TrackBall (not fling on touch
However, when I look at the AddressBook Code or ListView Code, I don't
see it implements 'dispatchTrackBall' method.

Can you please tell me how is that implemented?

Thank you.


3. How to wake up the device by Code?

4. Making Bluetooth work on x86 - please help

5. Problem in connecting to Bluetooth devices

6. Calling webview.clearCache() will clear all caches on device?

7. Can I catch the air interface signalling in Android's platform