From 2562ee38c58a113113a2943ae057c1937ae533cb Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 02 七月 2020 13:49:20 +0800
Subject: [PATCH] 2020-07-01 1.去掉读电能操作,去掉kwh状态显示。 2.当前是分享住宅,不允许删除备份。 3.进入搜索网关页面,切换到本地模式。 4.Alexa页面 增加添加设备失败提示。 5.子账号页面,底部增加文字提示。6.Android 默认隐藏底部虚拟按键。

---
 Crabtree/ON/Application.cs |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/Crabtree/ON/Application.cs b/Crabtree/ON/Application.cs
index 5acedcf..ab2173c 100644
--- a/Crabtree/ON/Application.cs
+++ b/Crabtree/ON/Application.cs
@@ -4,6 +4,7 @@
 using Android.Content;
 using Android.Net;
 using Android.OS;
+using Android.Views;
 //using CN.Jpush.Android.Api;
 //using CN.Jpush.Android.Service;
 using Java.Lang;
@@ -125,7 +126,7 @@
             };
 
             Shared.Application.FontSize = 16;
-            BaseActivity.IsHideVirualButtons = false;
+            BaseActivity.IsHideVirualButtons = true;
             ZXing.Mobile.MobileBarcodeScanner.Initialize (this);
             init ();
             BaseActivity.OnCreateActoin += (activity, application) => {
@@ -350,5 +351,12 @@
             Shared.BusSocket.Start (6000);
         }
 
+        void Hide () {
+//            Window _window;
+//            _window = this.GetWindow ();
+//            WindowManager.LayoutParams params = _window.getAttributes ();
+//params.systemUiVisibility = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
+//            _window.setAttributes (params);
+        }
     }
 }

--
Gitblit v1.8.0