1<code_scheme name="AndroidStyle"> 2 <option name="JAVA_INDENT_OPTIONS"> 3 <value> 4 <option name="INDENT_SIZE" value="4" /> 5 <option name="CONTINUATION_INDENT_SIZE" value="8" /> 6 <option name="TAB_SIZE" value="8" /> 7 <option name="USE_TAB_CHARACTER" value="false" /> 8 <option name="SMART_TABS" value="false" /> 9 <option name="LABEL_INDENT_SIZE" value="0" /> 10 <option name="LABEL_INDENT_ABSOLUTE" value="false" /> 11 <option name="USE_RELATIVE_INDENTS" value="false" /> 12 </value> 13 </option> 14 <option name="FIELD_NAME_PREFIX" value="m" /> 15 <option name="STATIC_FIELD_NAME_PREFIX" value="s" /> 16 <option name="CLASS_COUNT_TO_USE_IMPORT_ON_DEMAND" value="9999" /> 17 <option name="NAMES_COUNT_TO_USE_IMPORT_ON_DEMAND" value="9999" /> 18 <option name="IMPORT_LAYOUT_TABLE"> 19 <value> 20 <package name="android" withSubpackages="true" static="true" /> 21 <emptyLine /> 22 <package name="androidx" withSubpackages="true" static="true" /> 23 <emptyLine /> 24 <package name="com.android" withSubpackages="true" static="true" /> 25 <emptyLine /> 26 <package name="dalvik" withSubpackages="true" static="true" /> 27 <emptyLine /> 28 <package name="libcore" withSubpackages="true" static="true" /> 29 <emptyLine /> 30 <package name="com" withSubpackages="true" static="true" /> 31 <emptyLine /> 32 <package name="gov" withSubpackages="true" static="true" /> 33 <emptyLine /> 34 <package name="junit" withSubpackages="true" static="true" /> 35 <emptyLine /> 36 <package name="net" withSubpackages="true" static="true" /> 37 <emptyLine /> 38 <package name="org" withSubpackages="true" static="true" /> 39 <emptyLine /> 40 <package name="java" withSubpackages="true" static="true" /> 41 <emptyLine /> 42 <package name="javax" withSubpackages="true" static="true" /> 43 <emptyLine /> 44 <package name="" withSubpackages="true" static="true" /> 45 <emptyLine /> 46 <package name="android" withSubpackages="true" static="false" /> 47 <emptyLine /> 48 <package name="androidx" withSubpackages="true" static="false" /> 49 <emptyLine /> 50 <package name="com.android" withSubpackages="true" static="false" /> 51 <emptyLine /> 52 <package name="dalvik" withSubpackages="true" static="false" /> 53 <emptyLine /> 54 <package name="libcore" withSubpackages="true" static="false" /> 55 <emptyLine /> 56 <package name="com" withSubpackages="true" static="false" /> 57 <emptyLine /> 58 <package name="gov" withSubpackages="true" static="false" /> 59 <emptyLine /> 60 <package name="junit" withSubpackages="true" static="false" /> 61 <emptyLine /> 62 <package name="net" withSubpackages="true" static="false" /> 63 <emptyLine /> 64 <package name="org" withSubpackages="true" static="false" /> 65 <emptyLine /> 66 <package name="java" withSubpackages="true" static="false" /> 67 <emptyLine /> 68 <package name="javax" withSubpackages="true" static="false" /> 69 <emptyLine /> 70 <package name="" withSubpackages="true" static="false" /> 71 </value> 72 </option> 73 <option name="RIGHT_MARGIN" value="100" /> 74 <option name="JD_P_AT_EMPTY_LINES" value="false" /> 75 <option name="JD_DO_NOT_WRAP_ONE_LINE_COMMENTS" value="true" /> 76 <option name="JD_KEEP_EMPTY_PARAMETER" value="false" /> 77 <option name="JD_KEEP_EMPTY_EXCEPTION" value="false" /> 78 <option name="JD_KEEP_EMPTY_RETURN" value="false" /> 79 <option name="JD_PRESERVE_LINE_FEEDS" value="true" /> 80 <option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" /> 81 <option name="KEEP_BLANK_LINES_IN_CODE" value="1" /> 82 <option name="BLANK_LINES_AROUND_FIELD" value="1" /> 83 <option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" /> 84 <option name="ALIGN_MULTILINE_PARAMETERS" value="false" /> 85 <option name="ALIGN_MULTILINE_FOR" value="false" /> 86 <option name="CALL_PARAMETERS_WRAP" value="1" /> 87 <option name="METHOD_PARAMETERS_WRAP" value="1" /> 88 <option name="EXTENDS_LIST_WRAP" value="1" /> 89 <option name="THROWS_LIST_WRAP" value="1" /> 90 <option name="EXTENDS_KEYWORD_WRAP" value="1" /> 91 <option name="THROWS_KEYWORD_WRAP" value="1" /> 92 <option name="METHOD_CALL_CHAIN_WRAP" value="1" /> 93 <option name="BINARY_OPERATION_WRAP" value="1" /> 94 <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" /> 95 <option name="TERNARY_OPERATION_WRAP" value="1" /> 96 <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" /> 97 <option name="FOR_STATEMENT_WRAP" value="1" /> 98 <option name="ARRAY_INITIALIZER_WRAP" value="1" /> 99 <option name="ASSIGNMENT_WRAP" value="1" /> 100 <option name="PLACE_ASSIGNMENT_SIGN_ON_NEXT_LINE" value="true" /> 101 <option name="WRAP_COMMENTS" value="true" /> 102 <option name="IF_BRACE_FORCE" value="3" /> 103 <option name="DOWHILE_BRACE_FORCE" value="3" /> 104 <option name="WHILE_BRACE_FORCE" value="3" /> 105 <option name="FOR_BRACE_FORCE" value="3" /> 106 <XML> 107 <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" /> 108 </XML> 109 <ADDITIONAL_INDENT_OPTIONS fileType="java"> 110 <option name="TAB_SIZE" value="8" /> 111 </ADDITIONAL_INDENT_OPTIONS> 112 <ADDITIONAL_INDENT_OPTIONS fileType="js"> 113 <option name="CONTINUATION_INDENT_SIZE" value="4" /> 114 </ADDITIONAL_INDENT_OPTIONS> 115 <codeStyleSettings language="JAVA"> 116 <option name="ALIGN_MULTILINE_PARAMETERS" value="false" /> 117 <option name="ALIGN_MULTILINE_FOR" value="false" /> 118 <option name="CALL_PARAMETERS_WRAP" value="1" /> 119 <option name="PREFER_PARAMETERS_WRAP" value="true" /> 120 <option name="METHOD_PARAMETERS_WRAP" value="1" /> 121 <option name="RESOURCE_LIST_WRAP" value="1" /> 122 <option name="EXTENDS_LIST_WRAP" value="1" /> 123 <option name="THROWS_LIST_WRAP" value="1" /> 124 <option name="THROWS_KEYWORD_WRAP" value="1" /> 125 <option name="BINARY_OPERATION_WRAP" value="1" /> 126 <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" /> 127 <option name="TERNARY_OPERATION_WRAP" value="1" /> 128 <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" /> 129 <option name="FOR_STATEMENT_WRAP" value="1" /> 130 <option name="ARRAY_INITIALIZER_WRAP" value="1" /> 131 <option name="ASSIGNMENT_WRAP" value="1" /> 132 <option name="IF_BRACE_FORCE" value="1" /> 133 <option name="DOWHILE_BRACE_FORCE" value="1" /> 134 <option name="WHILE_BRACE_FORCE" value="1" /> 135 <option name="FOR_BRACE_FORCE" value="1" /> 136 <option name="WRAP_LONG_LINES" value="true" /> 137 </codeStyleSettings> 138 <codeStyleSettings language="JavaScript"> 139 <option name="KEEP_CONTROL_STATEMENT_IN_ONE_LINE" value="false" /> 140 <option name="KEEP_BLANK_LINES_IN_CODE" value="1" /> 141 <option name="BLANK_LINES_AROUND_FIELD" value="1" /> 142 <option name="BLANK_LINES_AFTER_CLASS_HEADER" value="1" /> 143 <option name="ALIGN_MULTILINE_PARAMETERS" value="false" /> 144 <option name="ALIGN_MULTILINE_FOR" value="false" /> 145 <option name="CALL_PARAMETERS_WRAP" value="1" /> 146 <option name="METHOD_PARAMETERS_WRAP" value="1" /> 147 <option name="EXTENDS_LIST_WRAP" value="1" /> 148 <option name="THROWS_LIST_WRAP" value="1" /> 149 <option name="EXTENDS_KEYWORD_WRAP" value="1" /> 150 <option name="THROWS_KEYWORD_WRAP" value="1" /> 151 <option name="METHOD_CALL_CHAIN_WRAP" value="1" /> 152 <option name="BINARY_OPERATION_WRAP" value="1" /> 153 <option name="BINARY_OPERATION_SIGN_ON_NEXT_LINE" value="true" /> 154 <option name="TERNARY_OPERATION_WRAP" value="1" /> 155 <option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" /> 156 <option name="FOR_STATEMENT_WRAP" value="1" /> 157 <option name="ARRAY_INITIALIZER_WRAP" value="1" /> 158 <option name="ASSIGNMENT_WRAP" value="1" /> 159 <option name="PLACE_ASSIGNMENT_SIGN_ON_NEXT_LINE" value="true" /> 160 <option name="WRAP_COMMENTS" value="true" /> 161 <option name="IF_BRACE_FORCE" value="3" /> 162 <option name="DOWHILE_BRACE_FORCE" value="3" /> 163 <option name="WHILE_BRACE_FORCE" value="3" /> 164 <option name="FOR_BRACE_FORCE" value="3" /> 165 <option name="PARENT_SETTINGS_INSTALLED" value="true" /> 166 </codeStyleSettings> 167 <codeStyleSettings language="XML"> 168 <option name="FORCE_REARRANGE_MODE" value="1" /> 169 <indentOptions> 170 <option name="CONTINUATION_INDENT_SIZE" value="4" /> 171 </indentOptions> 172 <arrangement> 173 <rules> 174 <section> 175 <rule> 176 <match> 177 <AND> 178 <NAME>xmlns:android</NAME> 179 <XML_NAMESPACE>^$</XML_NAMESPACE> 180 </AND> 181 </match> 182 </rule> 183 </section> 184 <section> 185 <rule> 186 <match> 187 <AND> 188 <NAME>xmlns:.*</NAME> 189 <XML_NAMESPACE>^$</XML_NAMESPACE> 190 </AND> 191 </match> 192 <order>BY_NAME</order> 193 </rule> 194 </section> 195 <section> 196 <rule> 197 <match> 198 <AND> 199 <NAME>.*:id</NAME> 200 <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> 201 </AND> 202 </match> 203 </rule> 204 </section> 205 <section> 206 <rule> 207 <match> 208 <AND> 209 <NAME>.*:name</NAME> 210 <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> 211 </AND> 212 </match> 213 </rule> 214 </section> 215 <section> 216 <rule> 217 <match> 218 <AND> 219 <NAME>name</NAME> 220 <XML_NAMESPACE>^$</XML_NAMESPACE> 221 </AND> 222 </match> 223 </rule> 224 </section> 225 <section> 226 <rule> 227 <match> 228 <AND> 229 <NAME>style</NAME> 230 <XML_NAMESPACE>^$</XML_NAMESPACE> 231 </AND> 232 </match> 233 </rule> 234 </section> 235 <section> 236 <rule> 237 <match> 238 <AND> 239 <NAME>.*</NAME> 240 <XML_NAMESPACE>^$</XML_NAMESPACE> 241 </AND> 242 </match> 243 <order>BY_NAME</order> 244 </rule> 245 </section> 246 <section> 247 <rule> 248 <match> 249 <AND> 250 <NAME>.*:layout_width</NAME> 251 <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> 252 </AND> 253 </match> 254 </rule> 255 </section> 256 <section> 257 <rule> 258 <match> 259 <AND> 260 <NAME>.*:layout_height</NAME> 261 <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> 262 </AND> 263 </match> 264 </rule> 265 </section> 266 <section> 267 <rule> 268 <match> 269 <AND> 270 <NAME>.*:layout_.*</NAME> 271 <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> 272 </AND> 273 </match> 274 <order>BY_NAME</order> 275 </rule> 276 </section> 277 <section> 278 <rule> 279 <match> 280 <AND> 281 <NAME>.*:width</NAME> 282 <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> 283 </AND> 284 </match> 285 <order>BY_NAME</order> 286 </rule> 287 </section> 288 <section> 289 <rule> 290 <match> 291 <AND> 292 <NAME>.*:height</NAME> 293 <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> 294 </AND> 295 </match> 296 <order>BY_NAME</order> 297 </rule> 298 </section> 299 <section> 300 <rule> 301 <match> 302 <AND> 303 <NAME>.*</NAME> 304 <XML_NAMESPACE>http://schemas.android.com/apk/res/android</XML_NAMESPACE> 305 </AND> 306 </match> 307 <order>BY_NAME</order> 308 </rule> 309 </section> 310 <section> 311 <rule> 312 <match> 313 <AND> 314 <NAME>.*</NAME> 315 <XML_NAMESPACE>.*</XML_NAMESPACE> 316 </AND> 317 </match> 318 <order>BY_NAME</order> 319 </rule> 320 </section> 321 </rules> 322 </arrangement> 323 </codeStyleSettings> 324</code_scheme>