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
Post a Comment