Sunday, February 16, 2014

Pull-up or pull-down notification bar issue


When I run the program, the system pull down the notification bar, and then pull up, go back to my program screen, why did not trigger the resume event, there is no trigger restart events, how to capture the notification bar inside the program pull-up or pull-down of the incident?<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
With attention! ! !
Reply:
@ Override
public void onWindowFocusChanged (boolean hasFocus) {
/ / TODO Auto-generated method stub
super.onWindowFocusChanged (hasFocus);

/ / Behalf hasFocus is false when the drop-down notification bar to state, on the contrary, compared with the initial state of the hidden
in titleBar
}
Reply:
reference to the second floor pengguohua1988 reply:
@ Override
public void onWindowFocusChanged (boolean hasFocus) {
/ / TODO Auto-generated method stub
super.onWindowFocusChanged (hasFocus);

/ / Behalf hasFocus is false when the drop-down notification bar to state, on the contrary, compared with the initial state of the hidden
in titleBar
}



Experts, this problem has troubled me two days, thank you
Reply:
reference to the third floor kouwoo reply:
Quote: references to the second floor pengguohua1988 reply:

@ Override
public void onWindowFocusChanged (boolean hasFocus) {
/ / TODO Auto-generated method stub
super.onWindowFocusChanged (hasFocus);

/ / Behalf hasFocus is false when the drop-down notification bar to state, on the contrary, compared with the initial state of the hidden
in titleBar
}



Experts, this problem has troubled me two days, thank you

Polite polite and common progress Ha!

No comments:

Post a Comment