In my app there is this title bar at the top where the overflow menu would be, but I don't need settings and only have one screen. When I change the theme like described in many other questions I get the old 2.2 theme. I want to have the modern theme just without the bar at the top.
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
this.requestWindowFeature(Window.FEATURE_NO_TITLE);
in onCreate() works!
Go to Project -> app -> main -> res -> values -> styles.xml
Change this line if you want to delete it for every view
to
if you want to make it just for one view you can change it in youre manifest data. Go to Android -> manifests -> AndroidManifest.xml. do following:
<activity android:name"...">
android:theme=""@style/Theme.AppCompat.NoActionBar"
The easiest way: Just double click on this button and choose "NoTitleBar" ;)
Click here to see where it is :)
In styles.xml file, change DarkActionBar to NoActionBar
This was working for me on
values/styles.xml
add items:In the manifest file change to this: