I found the answer in this link:Status Bar Color not changing with Relative Layout as root element
So it turns out we need remove the
<item name="android:statusBarColor">@android:color/transparent</item>
in styles.xml(v21). And it works just fine for me.