because this isn't part of a library, nor should it be. This is code you will directly need to interface with in any application, and any library would just get in your way. Note that what I meant by 'generated by Android'  means that it's convenience functionality of Android Studio to quickly add some Android design elements (like the ActionBar and NavigationDrawer) to the application without any major efforts from the programmer.