Fix Material Theme.

1. Add window animation.
2. Define some colors.
3. Support RTL.