網(wǎng)站開發(fā)成本有哪些網(wǎng)站建設(shè)軟件
問題
在Android 13 上開啟輔助屏幕。但是發(fā)現(xiàn)輔助屏systemui 導(dǎo)航按 icon沒有顯示,但是點(diǎn)擊對應(yīng)的區(qū)域有作用
分析
可以用 anroid device monitor 工具分析視圖
解決
public NavigationBarView(Context context, AttributeSet attrs) {super(context, attrs);//add start if (context.getDisplayId()!= Display.DEFAULT_DISPLAY){context.setTheme(R.style.Theme_SystemUI);}//add end