android:name
Quoting docs
The name of the class that implements the activity, a subclass of Activity. The attribute value should be a fully qualified class name (such as, "com.example.project.ExtracurricularActivity"). However, as a shorthand, if the first character of the name is a period (for example, ".ExtracurricularActivity"), it is appended to the package name specified in the element. Once you publish your application, you should not change this name (unless you've set android:exported="false").
If in manifest you have
package="com.example.layout"
And your Activity is under the same package you can have
<activity
android:name=".ActivityName"
Instead of ShortHand You can also have
<activity
android:name="com.example.layout.ActivityName"
If the activity is not declared right in manifest you end up in ActivityNotFoundException
If your activity is in a different package then you mention the fully qualified class name
<activity
android:name="packagename.ActivityName"
Note: There is no default. The name must be specified.