Good evening.
I upgraded my Android Studio
to version 1.4 and by default, any% created% uses as inheritance activity
AppCompatActivity
. I developed an app that needs to inherit a class responsible for controlling the lifecycle of each (public class MainActivity extends AppCompatActivity)
as in the following example: activity
. The problem is that by doing this, the project name does not appear in public class MainActivity extends LifeCycleActivity
when running the app. Since updating toolbar
brought two layouts ( Android Studio
and content_main.xml
) to each activity_main.xml
, I'd like to know if I solve the problem of displaying the project name in activity
through the layout files themselves, or through code, since I'm not using toolbar
as an inheritance.