How can I make the ActionBar in the first activation, but not in the others?

Closed due to the fact that the essence of the question is not clear to the participants Yuri , αλεχολυτ , user194374, Denis Bubnov , Akina 10 Feb '17 at 10:05 .

Try to write more detailed questions. To get an answer, explain what exactly you see the problem, how to reproduce it, what you want to get as a result, etc. Give an example that clearly demonstrates the problem. If the question can be reformulated according to the rules set out in the certificate , edit it .

    1 answer 1

    In order for Activity not to have an ActionBar , it needs to set the NoActionbar theme in the Manifest .


    For example: android:theme="@style/Theme.AppCompat.NoActionBar" .

    • And how to make it so that we allow in Activity_Registration ActionBara was not. And in the Activity Login was? - Exe1ent
    • one
      Do two topics - one with ActionBar , the other - without it - Flippy
    • @Exe1ent, as Sergey wrote - in the manifesto announce two different activities with different themes. - Rostislav Dugin