版本更新

This commit is contained in:
hch
2023-10-31 14:35:44 +08:00
parent ac7a491f57
commit 389f33db1f
7 changed files with 327 additions and 5 deletions

View File

@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="280dp"
android:layout_height="410dp"
android:orientation="vertical">
<ImageView
android:layout_width="280dp"
android:layout_height="410dp"
android:src="@mipmap/update_tips_bos_one_to_one" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="230dp"
android:text="發現新版本"
android:textColor="@color/black2"
android:textSize="12dp"
android:textStyle="bold" />
<ScrollView
android:id="@+id/scroll_layout"
android:layout_width="180dp"
android:layout_height="60dp"
android:layout_centerHorizontal="true"
android:layout_marginTop="250dp"
android:scrollbars="none">
<TextView
android:id="@+id/update_text"
android:layout_width="180dp"
android:layout_height="wrap_content"
android:text="
1、內容內容內容內容內容內容\n
2、內容內容內容內容內容內容\n
3、內容內容內容內容內容\n
4、內容內容內容內容內容"
android:textColor="#1B1B1B"
android:textSize="10sp" />
</ScrollView>
<LinearLayout
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_below="@+id/scroll_layout"
android:layout_centerHorizontal="true"
android:layout_marginTop="5dp"
android:gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/version_immediate_use"
android:layout_width="100dp"
android:layout_height="25dp"
android:background="@mipmap/update_one_to_one_bt"
android:gravity="center"
android:text="立即升級"
android:textColor="@color/white"
android:textSize="10sp"
android:textStyle="bold" />
<TextView
android:id="@+id/no_update"
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_below="@+id/version_immediate_use"
android:layout_centerHorizontal="true"
android:layout_marginTop="5dp"
android:gravity="center"
android:text="不更新退出APP"
android:textColor="@color/gray1"
android:textSize="10sp" />
</LinearLayout>
</RelativeLayout>

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 481 KiB