Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Remove the ActionBar from Specific Activities (Or All Activities) - Android Studio Tutorial
ChannelCoding in FlowDescription from the creator
To remove the ActionBar from all activities, we can set the parent of the default AppTheme in the styles.xml file to "Theme.AppCompat.Light.NoActionBar" or "Theme.AppCompat.NoActionBar".
If we want to remove the ActionBar only from specific activities, we can create a child theme with the AppTheme as it's parent, set windowActionBar to false and windowNoTitle to true and then apply this theme on an activity level by using the android:theme attribute in the AndroidManifest.xml file.
Example code:
gist.github.com/codinginflow/97287bb1ae6c49a31f…
____________________
💻 Find the BEST programming tutorials on TutHub:
tuthub.io
⭐ Get my MVVM Caching Course now:
codinginflow.com/caching
❗ Subscribe to the channel:
youtube.com/c/codinginflo...
📨 Subscribe to the Coding in Flow newsletter:
codinginflow.com/newsletter
❓ Join our free developer community:
discord.gg/TSnMvmc
📣 Follow Coding in Flow on other sites:
Facebook: facebook.com/codinginflow
Instagram: instagram.com/codinginflow
TikTok: tiktok.com/@codinginflow
Twitter: twitter.com/codinginflow
Github: github.com/codinginflow
💰 Business requests, sponsoring, etc.: [email protected]
About this tutorial
Coding in Flow published this 5:49 video tutorial on October 25, 2018. It has been watched 243,342 times on YouTube.
- Channel
- Coding in Flow
- Category
- Science & Technology
- Duration
- 5:49
- Published
- October 25, 2018
- Views
- 243,342
- Likes
- 3,538
Tags
Share
Further reading
-
Remove the ActionBar - Coding in Flow
codinginflow.com
If we want to remove the ActionBar only from specific activities, we can create a child theme with the AppTheme as it’s parent, set windowActionBar to false and windowNoTitle to true and then apply this theme on an acti…
-
java - Android: how to hide ActionBar on certain activities ...
stackoverflow.com
Beginning with Android 3.0 (API level 11), all activities that use the default theme have an ActionBar as an app bar. However, app bar features have gradually been added to the native ActionBar over various Android rele…
-
Hide or remove Action Bar on specific Activity | Android
stackoverflow.com
How I can remove Action Bar on specific activity not for all application, for example I have Sign Up activity and for this activity I want to remove Action Bar java android android-activity android-actionbar
This tutorial in other languages
- FRComment faire pour supprimer le ActionBar d'activités spécifiques (ou toutes les activités) - Android studio Tutorial
- ESCómo quitar la Barra de acciones frente a las actividades específicas (o todas las actividades) - Android Studio Tutorial
- PTComo remover o ActionBar de Atividades Específicas (ou todas Actividades) - Android Estúdio Tutorial
- ITCome rimuovere l'ActionBar da attività specifica (o Tutte le attività) - Android Studio Tutorial
- DEWie die ActionBar von bestimmten Aktivitäten entfernen (oder alle Aktivitäten) - Android Studio Tutorial
- NLHoe te verwijderen van de ActionBar uit specifieke activiteiten (of alle activiteiten) - Android Studio Tutorial
- RUКак удалить ActionBar от отдельных видов деятельности (или все деятельности) - Android Studio Tutorial
- PLJak usunąć ActionBar od konkretnych działań (lub wszystkich działań) - Android Studio Tutorial
- JAアンドロイドStudioチュートリアル - 特定活動(または全ての活動)からのアクションバーを削除する方法
- ARكيفية إزالة ActionBar من الأنشطة المحددة (أو جميع الأنشطة) - الروبوت التعليمي ستوديو
- HIएंड्रॉयड स्टूडियो ट्यूटोरियल - विशिष्ट गतिविधियां (या सभी गतिविधियों) से ActionBar निकालें
- IDCara Hapus ActionBar dari Spesifik Kegiatan (Atau Semua Kegiatan) - Android Studio Tutorial