Currently I have the problem that the name of the application
<string name="app_name">Banred</string>
I get it in the Toolbar
of the main menu and I really do not want the name to be seen
My toolbar
is as follows:
<android.support.v7.widget.Toolbar
android:layout_width="match_parent"
android:layout_height="55dp"
android:id="@+id/actionbar_toolbar"
android:background="@color/white">
<ImageView
android:layout_width="100dp"
android:layout_height="55dp"
android:layout_marginTop="5dp"
android:layout_centerHorizontal ="true"
android:layout_gravity = "center"
android:background="@mipmap/banred"
/>
</android.support.v7.widget.Toolbar>
The OnCreate code is as follows
@Override
protected void onCreate(Bundle savedInstanceState) {
requestWindowFeature(Window.FEATURE_NO_TITLE);
supportRequestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.activity_home);
super.onCreate(savedInstanceState);
}
My Styles.xml is next
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="windowNoTitle">true</item>
<item name="windowActionBar">false</item>
</style>
since thank you very much