最終更新:2015-07-16 (木) 14:48:20 (3179d)
config_enableTranslucentDecor
Top / config_enableTranslucentDecor
メモ
- Setting config_enableTranslucentDecor to false will not prevent clients from adding FLAG_TRANSLUCENT_NAVIGATION or FLAG_TRANSLUCENT_STATUS? to the window or using the TransluentDecor? themes, but it will prevent View.STATUS_BAR_TRANSLUCENT? and View.NAVIGATION_BAR_TRANSLUCENT? from being propagated to the SystemUI so these requests will not be honored.
取得
- getResources().getIdentifier("config_enableTranslucentDecor?", "bool", "android");
設定
- AOSP/frameworks/base/core/res/res/values/config.xml
<!-- Enable translucent decor by default --> <bool name="config_enableTranslucentDecor">true</bool>
Nexus 10だと無効
- AOSP/device/samsung/manta/overlay/frameworks/base/core/res/res/values/config.xml?
<!-- Translucent status & navigation bars perform poorly on this device --> <bool name="config_enableTranslucentDecor">false</bool>