¡@

Home 

2014/10/16 ¤W¤È 08:14:42

android Programming Glossary: hudview

creating a system overlay (always on top) button in android

http://stackoverflow.com/questions/4481226/creating-a-system-overlay-always-on-top-button-in-android

I receive events only on certain parts of my always on top view group Kindly suggest. public class HUD extends Service HUDView mView @Override public IBinder onBind Intent intent return null @Override public void onCreate super.onCreate Toast.makeText.. @Override public void onCreate super.onCreate Toast.makeText getBaseContext onCreate Toast.LENGTH_LONG .show mView new HUDView this WindowManager.LayoutParams params new WindowManager.LayoutParams WindowManager.LayoutParams.WRAP_CONTENT WindowManager.LayoutParams.WRAP_CONTENT.. .show if mView null WindowManager getSystemService WINDOW_SERVICE .removeView mView mView null class HUDView extends ViewGroup private Paint mLoadPaint public HUDView Context context super context Toast.makeText getContext HUDView..