How to add Toolbar to an Activity which doesn’t extend AppCompatActivity
Mario Viviani
415
Sorry man but you missed the spot. There in an edge case, if you use PreferenceActivity as your base Activity class you don’t use setContentView because your layout is “inflated” from preferences, in this case you cannot find Toolbar. I’m kinda struggling with this issue :-/