Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
When following the single activity pattern, some apps need to inflate the toolbar in their fragments instead of doing it in the activity (this is recommended in the docs when toolbars differ considerably from fragment to fragment).
However, in that scenario it's not possible to create a PreferenceFragmentCompat with a toolbar.
Please consider the possibility of adding an option to inflate a toolbar when creating a PreferenceFragmentCompat.