Next, aligning films 7a and 7b made of, for example, polyimide are formed on the substrates 1 and 2, respectively, for example, by spin coating.
A rubbing treatment is performed for the aligning films 7a and 7b.