version:1.4
update:2021-10-21 10:14:40 fix: add:增加浏览器桌面检测升级,修复重复请求
BIN
app/src/main/res/drawable-hdpi/head.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
|
||||