To hide title bar in an android activity we need to code a single line before SetContentView(R.Layout.main); ...... requestWindowFeature(window.FEATURE_NO_TITLE); SetContentView(R.Layout.main);
Learn Android tutorial Android Basics in Kotlin, Advanced Kotlin, Kotlin Fundamentals, Android Developer Fundamentals (Java)