Custom Activity

Did you manage to add and launch the activity?
If so, could you send me your XML or tell me how you did it?
I have a java file in which there is an activity.
and I need it to start.
I have already made code that would launch methods from XML, but I still have a problem with launching the activity