Saturday, April 12, 2014

android how to get rid of the pull-down notification bar. .


Pressed to pull down the status bar will appear when a drop-down notification bar, how to make pressed to get the drop-down status bar does not appear in this drop-down notification bar yet.
Or can occur, but it can remove some of which display items, such as removing bluetooth, wifi, etc.
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
The code StatusBarView.java in the onTouchEvent () and onInterceptTouchEvent () Note the two methods can be masked off the status bar drop-down event.
Want to customize the status bar can look here
Reply:
cited a floor tantahe reply:
the code StatusBarView.java in the onTouchEvent () and onInterceptTouchEvent () Note the two methods can be masked off the status bar The pull-down event.
Want to customize the status bar can look here

StatusBarView.java in which folder ah

Reply:
reference to the second floor beihua_2008_ reply:
Quote: references to a floor tantahe reply:

The code StatusBarView.java in the onTouchEvent () and onInterceptTouchEvent () Note the two methods can be masked off the status bar drop-down event.
Want to customize the status bar can look here

StatusBarView.java in which folder ah

I am looking for a long time did not find ah. . .
Reply:
4.2 has no such documents.
Landlord can look at frameworks / base / packages / SystemUI / src / com under / android / systemui / statusbar directory.
NotificationPanel.java, StatusBarWindowView.java several documents onTouchEvent () and onInterceptTouchEvent () two methods, the landlord can try.
Reply:
references, 4th Floor ameyume reply:
4.2 has no such documents.
Landlord can look at frameworks / base / packages / SystemUI / src / com under / android / systemui / statusbar directory.
NotificationPanel.java, StatusBarWindowView.java several documents onTouchEvent () and onInterceptTouchEvent () two methods, the landlord can try.

Thanks for the answer, try ah
Reply:
references, 4th Floor ameyume reply:
4.2 has no such documents.
Landlord can look at frameworks / base / packages / SystemUI / src / com under / android / systemui / statusbar directory.
NotificationPanel.java, StatusBarWindowView.java several documents onTouchEvent () and onInterceptTouchEvent () two methods, the landlord can try.

Ask about, ah, this is a direct modification, or what needs to decompile. . .
Reply:
After modifications to compile framework, that no Android.mk file under / statusbar directory.
In addition, this is the system level, you need to have the source code can.
If there is no source, decompile wondered not, you can try.
Reply:
reference to the 7th floor ameyume reply:
framework to compile after modifying it, no Android.mk file under / statusbar directory.
In addition, this is the system level, you need to have the source code can.
If there is no source, decompile wondered not, you can try.

Sorry ah, I want to ask where this directory frameworks, ah, how I can not find this directory frameworks ah. . . .
Reply:
frameworks is the first level source directory under the root directory.
You do not have android source code?
If you are doing a third-party App, then it can only decompile try.
Reply:
reference to the 9th floor ameyume reply:
frameworks is the first level source directory under the root directory.
You do not have android source code?
If you are doing a third-party App, then it can only decompile try.

I do not have android source code, ah, I always use eclipse android phone directory to find ah. If decompile which directory to which files should be compiled under it. . .
Reply:
reference to the 9th floor ameyume reply:
frameworks is the first level source directory under the root directory.
You do not have android source code?
If you are doing a third-party App, then it can only decompile try.

I decompiled (nothing changed), and then back to compile back into the system folder in the app. Restart the phone, the status bar, phone background image is gone. Back to compile what to pay attention to it?

Reply:
reference to the 11th floor beihua_2008_ reply:
Quote: references to the 9th floor ameyume reply:

frameworks is the first level source directory under the root directory.
You do not have android source code?
If you are doing a third-party App, then it can only decompile try.

I decompiled (nothing changed), and then back to compile back into the system folder in the app. Restart the phone, the status bar, phone background image is gone. Back to compile what to pay attention to it?

Sign? You can find this apk in eclipse the file explorer in the DDMS, look there is no package name. No description of the package name, then there is a problem.
Reply:
reference to the 12th floor tantahe reply:
Quote: references to the 11th floor beihua_2008_ reply:

Quote: references to the 9th floor ameyume reply:

frameworks is the first level source directory under the root directory.
You do not have android source code?
If you are doing a third-party App, then it can only decompile try.

I decompiled (nothing changed), and then back to compile back into the system folder in the app. Restart the phone, the status bar, phone background image is gone. Back to compile what to pay attention to it?

Sign? You can find this apk in eclipse the file explorer in the DDMS, look there is no package name. No description of the package name, then there is a problem.

How to see if a package name, ah, I signed up.
Reply:
Haha, for a way to get out.
Decompile systemui.apk generate SystemUI.dp folder
Find status_bar_expanded.xml file
SystemUI.dp \ res \ layout underThe



FrameLayou width and height are changed 0.0dip

Then replaced with a turn over of status_bar_expanded.xml systemui.apk original status_bar_expanded.xml
Back into the phone, reboot, pull down the notification bar shortcuts gone.
But why do I replace the original. Xml files can be re-compiled, the signature will not do it. .

No comments:

Post a Comment