I'm able to print a custom document using Printing custom documents
but it uses android print interface to perform the print operations (as shown in image)
Instead, I want to show my own interface to print the doc, I have seen many apps interface that does this, but not able to find any resource for the steps to be followed.
I'm not clear with the right sets of steps and classes to be used to implement the same or if is there any resource for the same.