I have a background service running, displaying some views as system_overlay to provide aditional information for the currently active app.
To configure the hud display i want to show the user another overlay view to change some parameters.
The point of using system_overlay for the settings view too is to not be the active activity. Otherwise the original activity for which I provide the information gets closed by the system sometimes while the settings view is displayed because this other app uses a very big amount of ram (Thats why I don't want to use an activity for the settings view)
The Problem: I want something like a TabHost with a ViewPager in my settings view but without having an activity.
And even if I get the ViewPager working I can't load the contents because they are currently only available as fragments.
The Question: From what i read, fragments don't work without an activity, so what would be the right way to accomplish something like this?