Android Studio – get XML's id from not linked activity
Want to do I want to get android:id = "@+id/drawer_layout2" at activity which is not linked with SetContentView because I want to open navigation? DrawerLayout? with a button. I already know that drawer.OpenDrawer(GravityCompat.Start) open it but drawer is null. Relation…