version:1.4

update:2021-10-21 10:14:40
fix:
add:增加浏览器桌面检测升级,修复重复请求
This commit is contained in:
2021-12-03 14:33:03 +08:00
parent 768519e14e
commit 34fa9fcdb7
70 changed files with 3189 additions and 1503 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="com.aoleyun.sn.activity.HomeActivity">
tools:context="com.aoleyun.sn.activity.SplashActivity">
<ImageView
android:id="@+id/imageView"
@@ -45,9 +45,8 @@
android:layout_marginBottom="24dp"
android:text="版权所有@深圳市七彩宏云智能设备有限公司"
android:textColor="@color/title_textcolor"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -86,11 +86,11 @@
<ImageView
android:id="@+id/imageView"
android:layout_width="@dimen/dp_150"
android:layout_height="@dimen/dp_150"
android:layout_width="@dimen/dp_100"
android:layout_height="@dimen/dp_100"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:src="@drawable/logo"
android:src="@drawable/head"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.502"
@@ -175,7 +175,7 @@
android:text="设备SN"
android:textColor="#000000"
android:textSize="@dimen/sp_12"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintBottom_toBottomOf="@+id/textView2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/textView2" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -241,7 +241,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:text="班级"
android:text="部门"
android:textColor="#000000"
android:textSize="@dimen/sp_12"
app:layout_constraintBottom_toBottomOf="parent"
@@ -282,7 +282,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:text="号"
android:text="号"
android:textColor="#000000"
android:textSize="@dimen/sp_12"
app:layout_constraintBottom_toBottomOf="parent"

View File

@@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="com.aoleyun.sn.activity.HomeActivity">
tools:context="com.aoleyun.sn.activity.SplashActivity">
<ImageView
android:id="@+id/imageView"
@@ -45,9 +45,8 @@
android:layout_marginBottom="40dp"
android:text="版权所有@深圳市七彩宏云智能设备有限公司"
android:textColor="@color/title_textcolor"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -72,11 +72,11 @@
<ImageView
android:id="@+id/imageView"
android:layout_width="@dimen/dp_150"
android:layout_height="@dimen/dp_150"
android:layout_width="@dimen/dp_100"
android:layout_height="@dimen/dp_100"
android:adjustViewBounds="true"
android:scaleType="fitCenter"
android:src="@drawable/logo"
android:src="@drawable/head"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -146,7 +146,7 @@
android:text="设备SN"
android:textColor="#000000"
android:textSize="@dimen/sp_12"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintBottom_toBottomOf="@+id/textView2"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@+id/textView2" />
</androidx.constraintlayout.widget.ConstraintLayout>
@@ -212,7 +212,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:text="班级"
android:text="部门"
android:textColor="#000000"
android:textSize="@dimen/sp_12"
app:layout_constraintBottom_toBottomOf="parent"
@@ -253,7 +253,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:text="号"
android:text="号"
android:textColor="#000000"
android:textSize="@dimen/sp_12"
app:layout_constraintBottom_toBottomOf="parent"

View File

@@ -52,4 +52,6 @@
<color name="check_update_color_pressed">#3e76f6</color>
<color name="title_textcolor">#494949</color>
<color name="toast_color">#CD000000</color>
</resources>

View File

@@ -7,6 +7,8 @@
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:windowBackground">@color/colorPrimary</item>
<item name="android:fitsSystemWindows">true</item>
<item name="android:navigationBarColor">?attr/colorPrimary</item>
</style>
<style name="password_dialog_style">
@@ -47,16 +49,16 @@
<item name="android:backgroundDimEnabled">true</item>
</style>
<style name="dialog" parent="@android:style/Theme.Dialog">
<item name="android:windowFrame">@null</item> //Dialog的windowFrame框为无
<item name="android:windowIsFloating">true</item> //是否浮现在activity之上
<item name="android:windowIsTranslucent">true</item> //是否半透明
<item name="android:windowNoTitle">true</item> //是否显示title
<item name="android:background">@android:color/transparent</item> //设置dialog的背景
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:backgroundDimAmount">0.7</item> //就是用来控制灰度的值当为1时界面除了我们的dialog内容是高亮显示的dialog以外的区域是黑色的完全看不到其他内容
<item name="android:backgroundDimEnabled">true</item>
<style name="dialog" parent="Theme.AppCompat.Light.Dialog.Alert">
<item name="android:textColor">@color/black</item>
<item name="android:windowFullscreen">false</item>
<!-- <item name="android:windowFrame">@null</item> //Dialog的windowFrame框为无-->
<!-- <item name="android:windowIsFloating">true</item> //是否浮现在activity之上-->
<!-- <item name="android:windowIsTranslucent">true</item> //是否半透明-->
<!-- <item name="android:windowNoTitle">true</item> //是否显示title-->
<!-- <item name="android:background">@android:color/transparent</item> //设置dialog的背景-->
<!-- <item name="android:windowBackground">@android:color/transparent</item>-->
<!-- <item name="android:backgroundDimAmount">0.7</item> //就是用来控制灰度的值当为1时界面除了我们的dialog内容是高亮显示的dialog以外的区域是黑色的完全看不到其他内容-->
<!-- <item name="android:backgroundDimEnabled">true</item>-->
</style>
</resources>