![]() ![]() Therefore, it is better to create the view and assign it to the window manager by a foreground service. ![]() This is an example with a ProgressBar inside. However, when I re-launch the IntentService, a new view is added but the previous view remains. Note: If your application gets destroyed, your view will be removed from the window manager. Ive added android:clickabletrue to block touch events to other views below it.So I updated them similar to another commenter. When I first launch the IntentService, the view is created as expected. This is an old thread, but heres my thoughts: The color/alpha settings as-is worked for me on kitkat, but not on lollipop. I'm using WindowManager to add views to the users screen using an IntentService, as shown here: WindowManager.LayoutParams params = new WindowManager.LayoutParams( ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |