How can use no action bar in Android?

Daniel William

New member
How can use no action bar in Android?
Answer
Below are the steps for hiding the action bar permanently:
  1. Open app/res/values/styles. xml.
  2. Look for the style element that is named “apptheme”. …
  3. Now replace the parent with any other theme that contains “NoActionBar” in its name. …
  4. If your MainActivity extends AppCompatActivity, make sure you use an AppCompat theme.
 

Tìm kiếm

Back
Top