Open gaussandhisgun opened 3 years ago
As you say, looks like there is not a official supported method to set custom window title. The method to use DecorView
to find the title view, and change it value is workable, and you can do it with public method without needing Xposed/EdXposed
. It uses AOSP
method, and not Taskbar
stuff, so you can do it directly from you app.
I'd like to see an option to turn on Taskbar's custom window titles, like in Linux (screenshot: ) Some websites say that it is possible to access and customize this view (title bar) by getting the DecorView using Window.getDecorView(), casting it as a ViewGroup and then accessing its child views. This may even have something to do with Xposed/EdXposed if it is not possible to set DecorViews of other windows. https://developer.android.com/reference/android/view/Window#getDecorView()