Tuesday, February 25, 2014

Who knows how to change the text in the window Andrews floating ah? Floating windows clock principle


I made a floating window you can add pictures or text, but I hope to make dynamic changes to the text, such as displaying the current time. With thread, the time changed into how the String type to a floating window to go it? addview after leaving to create a floating window that method can not be used ah<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
Posted under the code, to help you tune about
Reply:
With popupwindow control, this control is floating inside the View can customize an animation.
Reply:
reference to the second floor birdsaction reply:
with popupwindow control, this control is floating inside the View can customize an animation.


The same can be like a floating window and then on the other applications? That I wanted him to have been at the top, then go run other programs
Reply:
cited a floor pengguohua1988 reply:
posted under the code, help you tune look


Is a floating window, ah, I want to add a textview into, then this text will change over time change
Reply:
Been floating on top with relative placement can be, this floating VIEW final layout which could have been added at the top,
But each Activity page needs to join the floating View.
It is unclear whether other techniques to achieve it. Similar to the launcher inside the float.
Reply:
references, 5th Floor birdsaction reply:
been floating on top you can use relative layout, this floating VIEW final layout which could have been added at the top,
But each Activity page needs to join the floating View.
It is unclear whether other techniques to achieve it. Similar to the launcher inside the float.



With WindowManager can float at the top of the window and set up, but just do not know how to change the content at any time

No comments:

Post a Comment