IntelliJ IDEA 2018.2 Help

Inline Android Style Dialog

Refactor | Inline Style
<context menu of a selection> | Refactor | Inline Style
Ctrl+Alt+N

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.

Item

Description

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.

Refactor

Click this button to apply the changes immediately.

Preview

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

Last modified: 25 October 2018

See Also