Skip to content

Commit 357dc51

Browse files
committed
Move the code style settings file. (#438)
To make it easier to import the scheme. Also modify the instructions to apply the scheme.
1 parent c830f33 commit 357dc51

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,7 @@ This repository follows the official Android code style.
3939
When you send a patch, please try to follow that.
4040
Here are the example steps to follow:
4141

42-
1. Use the Project scheme in the Android Studio (It should be already saved as `.idea/codeStyleSettings.xml` and applied as the Project schema)
42+
1. From Android Studio or IntelliJ IDEA, navigate to "Preferences" -> "Editor" -> "Code Style"
43+
1. Select "Import Scheme" by clicking the gear icon next to the Scheme pull down
44+
1. Choose <root directory of flexbox-layout>/tool/codeStyleSettings.xml
45+
1. Create a new scheme by typing a scheme name in the "To" edit box or apply to the current scheme.

0 commit comments

Comments
 (0)