Android porting - Status Bar customization -


Hi, I'm trying to modify the statusbar bar in Android. File, statusbar_background.9.png is to modify 1. But can someone suggest me how to make it transparent? For optimization, can we resize the width of the status bar in a relative size? What does it mean by the number of icons on the screen? I am modifying the file / framework / base / package / system / SRC / com / Android / system / statusbar / states burs service.

Please give me some suggestions, please

Get answers.
I have changed the following:
android: background = "@ drawable android: framework / base / package / systemye / res / Statusbar.xml file

To resize the status bar, you need to do the following: Secure Void addStatusBarView () function in StatusbarService.java Change the file to the following:

  Window Manager. LayoutParam lp = New Window Manager. Layout (see Now March 17th Grav. LayoutsParms. Specify the width of the MTHTPART, Mvidth, // Statusbar. Height, WindowManager, LayoutParms.Tep_STSTSBAR, Window Manager. LayoutParams.FLAG_NOT_FOCUSABLE | WindowManager.LayoutParams.FLAG_TOUCHABLE_WHEN_WAKING, Pixel format.); // Now March 15 lp.gravity = Gravity. TOP | Gravity.FILL_HORIZONTAL; Lp.gravity = Gravity.Tap | Gravity.LEFT; lp.setTitle ("status"); //lp.gravity = Gravity.CENTER; // March 18, LP.Vondo animation = com.android.internal .R.style.Animation_StatusBar; Lp.x = 25; // X position windowManagerImpl.getDefault () to move the status bar. AddView (see, LP); .....}    

Comments