Back to project page PhoneProfiles_Eclipse.
The source code is released under:
Apache License
If you think the Android project PhoneProfiles_Eclipse listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package sk.henrichg.phoneprofiles; /*from ww w . ja va 2 s .c o m*/ import android.content.Context; import android.view.ViewGroup; public class BrightnessView extends ViewGroup { Context context; public BrightnessView(Context context) { super(context); this.context = context; } @Override protected void onLayout(boolean changed, int l, int t, int r, int b) { //WindowManager windowManager = (WindowManager)context.getSystemService(Context.WINDOW_SERVICE); //windowManager.removeViewImmediate(this); } }