IntelliJ IDEA 2020.1 Help

Inline Android Style Dialog

Refactor | Inline Style
<context menu of a selection> | Refactor | Inline Style

Use this dialog box to configure the Inline Style. This refactoring is opposite to the Extract Style refactoring and results in adding all attributes defined in a style to one or all components where this style is applied. This refactoring is also used when you need to merge a parent style with its inheritor.



Inline all references and remove the style

Select this option to have IntelliJ IDEA convert the attributes of the style into XML tags, add them to the definitions of all components where the style is used, and remove the style definition.

Inline this usage and keep the style

Select this option to have the refactoring applied to the current component only.


Click this button to apply the changes immediately.


Click this button to preview the changes before applying in the Find tool window.

Last modified: 7 July 2020