android - tool bar not removed? -


so im trying remove tool bar on android design page can't reason.

xml code:

<?xml version="1.0" encoding="utf-8"?>  <linearlayout     xmlns:android="http://schemas.android.com/apk/res/android"     android:layout_height="match_parent"     android:layout_width="match_parent">  </linearlayout> 

did set theme of activity in manifest without actionbar?

in styles.xml:

<style name="apptheme.noactionbar">     <item name="windowactionbar">false</item>     <item name="windownotitle">true</item> </style> 

and in androidmanifest.xml:

<activity         android:name=".mainactivity"         android:theme="@style/apptheme.noactionbar" /> 

then in design page, you'll need select theme created in dialog.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -