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

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

javascript - return highlighted cells to php -

java - Creating a room by reading from a file (for a game) -