How to bring my Window On Top.

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

How to bring my Window On Top.

Postby kamal3501 » Thu Aug 13, 2009 1:38 pm

How can i bring my window view always on top of the desktop like a ticker on the desktop.

i tried this in Activity:
TextView tv = new TextView(this);
tv.setText("Hello Android");
Animation anim = tv.getAnimation();
//int z= anim.getZAdjustment();
anim.setZAdjustment(1);
setContentView(tv);

Not working.Want to bring the Z ordinal of my Window on top. :)
kamal3501
Freshman
Freshman
 
Posts: 3
Joined: Thu Aug 13, 2009 1:28 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Majestic-12 [Bot] and 3 guests