How I can make transparent Keyguard

by agent-10 » Sat, 11 Dec 2010 13:06:18 GMT


Sponsored Links
 Hi, I've change the behavior of LockScreen.java to my own but I don't
know how to make transparent or translucent Keyguard. I just wanna see
behind windows(e.g Home app, another users activities etc).
I suppose that I should change something in KeyguardViewManager.java
in show() function but I don't what exactly...
Can anyone help me?

P.S. I have sources for Froyo 2.2.

-- 



Re: How I can make transparent Keyguard

by agent-10 » Tue, 14 Dec 2010 04:55:17 GMT


 Never mind. I found out how to do it.
The first we should change doesForceHide() function in
PhoneWindowManager.java. For Keyguard window this function returns
true.
It cause to forcibly hide everything behind window, in our case it's
Keyguard. Change it to false.

Next we should remove FLAG_SHOW_WALLPAPER in show() in
KeyguardViewManager.java

After this, we'll see transparent keyguard.

-- 


Sponsored Links


Other Threads

1. what is possibly wrong in this SIMPLE animation???

when the button is clicked, i want it to move down by 100 pixels and fade 
out.... i want it all to happen in 2 seconds.

AnimationSet myAnimationSet = new AnimationSet(true);
myAnimationSet.setDuration(2000);
myAnimationSet.addAnimation(new AlphaAnimation(1.0f, 0.0f));
myAnimationSet.addAnimation(new TranslateAnimation(0, 0, 0, 100));
System.out.println("before starting animation);
v.startAnimation(myAnimationSet);
System.out.println("after starting animation);

both the *System.out.println* messages appear when this code is executed. 
But on the device, the buttons just disappear in a split second and come 
back again without having any of the fade out translation animations

-- 

2. encryption give different result in android and jsp

Hi all,
I use encryption method like at post:

3. J2ab bridge showing error

4. Widget tables

5. How do I remove the background of a image button?

6. Is Lg Optimus One P500 a good phone to dev?

7. question