I have an android app with two activities main
and secondary
.
main
activity has following lines in its XML
:
<android.support.design.widget.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay">
secondary
activity doesnt have appbar
mentioned in its layout file,
and yet when I invoke second activity from first - I can still see AppBar
appearing on top of the screen..
is there a way to override this behaviour?