I am automating an android application. For inspecting elements i am using uiautomatorviewer. And the element do not have any id associated with it so i was trying to get the xpath of that element. But as far as i know, we need classname in order to create xpath for inspecting any element and the element which i am trying to inspect does not have any classname. I can not share the screenshot/hierarchy of the element which i am trying to inspect as i can not share the application but i found an example of the scenario which i am facing and that is in messenger application. I am attaching the scenario, please have a look to it.
Any help would be welcomed.