修复问题

This commit is contained in:
fengge 2026-04-18 17:28:08 +08:00
parent 4f90e270fd
commit 4e8f6e69fd
3 changed files with 33 additions and 20 deletions

1
.gitignore vendored
View File

@ -25,3 +25,4 @@ local.properties
/第三方/安卓demo和说明/POC_Manual.txt /第三方/安卓demo和说明/POC_Manual.txt
/第三方/安卓demo和说明/POC_SingleCall.md /第三方/安卓demo和说明/POC_SingleCall.md
/第三方/安卓demo和说明/POC_SOS.md /第三方/安卓demo和说明/POC_SOS.md
/app/release/

View File

@ -11,13 +11,13 @@ android {
applicationId = "com.stand.standapp" applicationId = "com.stand.standapp"
minSdk = 24 minSdk = 24
targetSdk = 34 targetSdk = 34
versionCode = 3 versionCode = 6
versionName = "1.0.2" versionName = "1.0.5"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
ndk { ndk {
abiFilters.addAll(listOf("armeabi-v7a", "arm64-v8a")) abiFilters.addAll(listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64"))
} }
} }

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@drawable/bg_login" android:background="@drawable/bg_login"
@ -22,7 +23,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerHorizontal="true" android:layout_centerHorizontal="true"
android:layout_marginTop="50dp" android:layout_marginTop="20dp"
android:gravity="center" android:gravity="center"
android:orientation="vertical"> android:orientation="vertical">
@ -41,26 +42,36 @@
android:textStyle="bold" /> android:textStyle="bold" />
</LinearLayout> </LinearLayout>
<!-- 中间登录框 --> <androidx.constraintlayout.widget.ConstraintLayout
<LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerInParent="true" android:layout_centerInParent="true">
android:background="@drawable/shape_login_box"
android:elevation="8dp"
android:gravity="center_horizontal"
android:orientation="vertical"
android:padding="30dp">
<TextView <LinearLayout
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="25dp" android:background="@drawable/shape_login_box"
android:text="用户登录" android:elevation="8dp"
android:textColor="#FFFFFF" android:gravity="center_horizontal"
android:textSize="20sp" /> android:orientation="vertical"
android:padding="30dp"
app:layout_constraintWidth_max="450dp"
app:layout_constraintWidth_default="percent"
app:layout_constraintWidth_percent="0.85"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent">
<TextView <TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="25dp"
android:text="用户登录"
android:textColor="#FFFFFF"
android:textSize="20sp" />
<TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="15dp" android:layout_marginBottom="15dp"
@ -127,7 +138,8 @@
android:textColor="#FFFFFF" android:textColor="#FFFFFF"
android:textSize="16sp" /> android:textSize="16sp" />
</LinearLayout> </LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<!-- 底部版权 --> <!-- 底部版权 -->
<TextView <TextView