I am currently trying to draw a line on top of a textview content in android default screen for example., settings screen. it is possible to get content of the screen if that screen belongs to our own application, i want to know how can i get content of device default screen content from my application. as part of going through few discussion i got if we get the view object of that screen we can able to do that. so is it possible to get the view object of a android default screen? kindly help on how can we achieve this.
thanks
so is it possible to get the view object of a android default screen?
No. That app runs in another process. Its objects cannot magically transport themselves to your process.
i want to know how can i get content of device default screen content from my application
On Android 5.0+, with user permission, you can use the media projection APIs to take screenshots.