2
2
.
.
1
1
.
.
4
4
X
X
M
M
L
L
I
I
n
n
f
f
o
o
This tutorial shows how to setup Android Studio for specific XML Syntax Highlighting & Tabs & Indents.
Tabs & Indents settings will be applied to already created files only if you Override current File Tabs & Indents.
S
S
y
y
n
n
t
t
a
a
x
x
H
H
i
i
g
g
h
h
l
l
i
i
g
g
h
h
t
t
i
i
n
n
g
g
File
Settings
Editor
Color Scheme
Language Defaults
example.html
<html>
<head>
<title> Minimal XHTML! </title>
</head>
<body>
<!-- Comment -->
<form method="get" action="http://www.ivoronline.com">
<input type="submit" name="MySubmit" value="Buy">
One&nbsp;space.
</form>
</body>
</html>
Language Defaults
Language Defaults
Red
Green
Blue
Example
Comment
0
128
0
<!-- Comment -->
Markup - Entity
0
100
200
&nbsp;
Markup - Tag
0
100
200
<>
Markup - Attribute
200
0
0
method
Markup - Entity
0
100
200
&nbsp;
Content
0
0
0
One
XML
Red
Green
Blue
Example
Prolog
0
100
200
<? ?>
T
T
a
a
b
b
s
s
&
&
I
I
n
n
d
d
e
e
n
n
t
t
s
s
File
Settings
Editor
Code Style
XML
Tab size: 2
Indent: 2
OK
XML Tabs & Indents