There is a class MainActivity from which I start another class, through startintent , say, TwoActivity . But TwoActivity does not see the interface, that is, findViewById does not see the ID elements on the interface.
Maybe there is a simpler solution.
The bottom line is this: there are two classes. a separate file, it is necessary that when the method is called in the second class, the screen interface is changed. Tell me where to dig.