Sindu Potha

Sindu Potha was created by us who wish to enjoy Sri Lankan songs.

How to Remove Android App Action Bar – Android Studio

How to Remove Android App Action Bar - Android Studio Best Tutorial 100%
How to Remove Android App Action Bar – Android Studio Best Tutorial 100%

Table of Contents

How to Remove Android App Action Bar – Android Studio

How to Remove Android App Action Bar - Android Studio
How to Remove Android App Action Bar – Android Studio

In this tutorial, we discuss How to Remove Android App Action Bar? Previously we have discussed,

Now we start to optimize our WebView app. (How to Remove Android App Action Bar – Android Studio)

How to Remove Android WebView App Action Bar

How to Remove Android App Action Bar – Android Studio

1. Open your project. Open… values > themes > themes.xml . Then add this code below the “<!– Base application theme –>”

<style name="Theme.TechEduTricks" parent="Theme.MaterialComponents.DayNight.NoActionBar">

2. Open your project. Open… values > themes > themes.xml (night) . Then add this code bellow the “<!– Base application theme –>”

 <style name="Theme.TechEduTricks" parent="Theme.MaterialComponents.DayNight.NoActionBar">

Your Full code on themes.xml will be like this.

<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.TechEduTricks" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>

To improve your android WebView app performance read kdapz.com‘s other articles also: Android Studio

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top