Go to styles.xml and change .DarkActionBar
for .NoActionBar
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> </style>
becomes
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> </style>
if colors are irrelevant to your app, you can actually go for
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar" />
Related Posts:
- You need to use a Theme.AppCompat theme (or descendant) with this activity
- You need to use a Theme.AppCompat theme (or descendant) with this activity
- Why fragments, and when to use fragments instead of activities?
- Font size of TextView in Android application changes on changing font size from native settings
- Error inflating class fragment
- How to build a horizontal ListView with RecyclerView
- Getting activity from context in android
- Android LinearLayout Gradient Background
- How to customize a Spinner in Android
- How to remove title bar from the android activity?
- What does ellipsize mean in android?
- What are the differences between LinearLayout, RelativeLayout, and AbsoluteLayout?
- What is the difference between “px”, “dip”, “dp” and “sp”?
- How to inflate one view with a layout
- How do I get the currently displayed fragment?
- What exactly does fitsSystemWindows do?
- Determining translationX/Y values for ObjectAnimator; how to move a view to an exact screen position?
- What is the difference between gravity and layout_gravity in Android?
- Closing Application with Exit button
- How to change the color of a button?
- Can I underline text in an Android layout?
- Scrollview can host only one direct child
- How to remove title bar from the android activity?
- Failed to find style ‘coordinatorLayoutStyle’ in current theme
- Emulator: ERROR: x86 emulation currently requires hardware acceleration
- Emulator: ERROR: x86 emulation currently requires hardware acceleration
- How to use navigateUp to close the application
- “unable to locate adb” using Android Studio [duplicate]
- “unable to locate adb” using Android Studio [duplicate]
- Differences between arm64 and aarch64
- Install an apk file from command prompt?
- My users get “net::err_name_not_resolved”
- Solving “adb server version doesn’t match this client” error [duplicate]
- Can’t create handler inside thread that has not called Looper.prepare()
- What are the possible reasons for NFC Service to become dead after some time?
- Simple Android RecyclerView example
- What is ‘Context’ on Android?
- android image button
- What causes signal ‘SIGILL’?
- adb server is out of date. killing
- Change project name on Android Studio
- Execution failed for task ‘:app:processDebugResources’ even with latest build tools
- Set adb vendor keys
- Android – setOnClickListener vs OnClickListener vs View.OnClickListener
- How to update Notification with RemoteViews?
- Why is Android Studio reporting “URI is not registered”?
- No Sound coming from Android Emulator [duplicate]
- Getting error “The package appears to be corrupt” while installing apk file
- Could not identify launch Activity: Default Activity not found
- What is Dalvik and dalvik-cache?
- Android auth firebase error: Local module descriptor class for com.google.firebase.auth not found
- Could not find com.android.tools.build:gradle:3.0.1
- Execution failed for task ‘:app:compileDebugJavaWithJavac’ Android Studio 3.1 Update
- Sending an Intent to browser to open specific URL
- How to make a round button?
- Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat
- First run of Android Studio. Unable to access Android SDK add-on list
- Java syntax explanation – getMenuInflater()
- What’s “tools:context” in Android layout files?
- Error checking if Bluetooth is enabled in Android (REQUEST_ENABLE_BT cannot be resolved to a variable)
- Android: adb: Permission Denied
- Android Studio : Failed to set EGL_SWAP_BEHAVIOR on surface
- Fragment MyFragment not attached to Activity
- onSaveInstanceState () and onRestoreInstanceState ()
- Running Node.Js on Android
- emulator: incompatible HAX module version 3 requirs minimum version 4
- How do you change text to bold in Android?
- Getting android.content.res.Resources$NotFoundException: exception even when the resource is present in android
- Unsupported major.minor version 52.0 when rendering in Android Studioandroid android-studio rendering preview
- What is Sandboxed_process0 and why do i have so many instances of it listed in the memory usage for my app
- Android ADB doesn’t see device
- What can com.sec.android.app.launcher be used for?
- How to create custom button in Android using XML Styles
- Android SDK path not specified
- Failed to connect to camera service
- the item you requested is not available for purchase
- How to create a file in Android?
- Service vs IntentService in the Android platform
- Android: failed to convert @drawable/picture into a drawable
- This Activity already has an action bar supplied by the window decor
- getResources().getColor() is deprecated
- What’s the console.log() of java?
- Get JSON Data from URL Using Android?
- Re-enable “component tree” in Android Studio
- XML has empty body?
- “Gradle Version 2.10 is required.” Error
- Singleton in Android
- Android getResources().getDrawable() deprecated API 22
- How to hide popping up Google Play’s unlocked achievement programatically?
- Error during installing HAXM, VT-X not working
- Error: fix the version conflict (google-services plugin)
- User Operation is waiting for “Building Workspace”
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- What is android:ems attribute in Edit Text? [duplicate]
- Android scale animation on view
- How to change spinner text size and text color?
- Android Device not recognized by adb
- Not able to access adb in OS X through Terminal, “command not found”
- How can I give access to WordPress site using an Android application ?