android:text="Hello, my name is Stan."for the LinearLayout tag.
app/res/values
<androidx.constraintlayout.widget.ConstraintLayoutwith
<LinearLayoutand replace
</androidx.constraintlayout.widget.ConstraintLayout>with
</LinearLayout>Delete Line 3 where the namespace app is defined, and delete lines 14 through 17 which are not needed in the LinearLayout.
android:gravity="center"to the LinearLayout tag. This centers the text horizontally and vertically within the TextView widget.