add RatioLayoutConfig
hide action bar automatically