dependency for android.support.v7.widget.Toolbar code example Example: dependency for android.support.v7.widget.Toolbar implementation 'androidx.appcompat:appcompat:1.0.0'