
虚拟按键
SmileToLin
这个作者很懒,什么都没留下…
展开
-
android 获取虚拟按键的高度
//获取虚拟按键的高度 public static int getNavigationBarHeight(Context context) { int result = 0; if (hasNavBar(context)) { Resources res = context.getResources(); ...原创 2018-04-12 12:50:44 · 1525 阅读 · 0 评论 -
android 导航键和导航栏的显示隐藏
//导航键和导航栏的隐藏 private void hideSystemUI() { getWindow().getDecorView() .setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION ...原创 2018-04-12 12:58:59 · 2528 阅读 · 0 评论