版本更新
This commit is contained in:
77
common/src/main/res/layout/apk_update_one_to_one_popup.xml
Normal file
77
common/src/main/res/layout/apk_update_one_to_one_popup.xml
Normal 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>
|
||||
BIN
common/src/main/res/mipmap-mdpi/update_one_to_one_bt.png
Normal file
BIN
common/src/main/res/mipmap-mdpi/update_one_to_one_bt.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
BIN
common/src/main/res/mipmap-xxhdpi/update_tips_bos_one_to_one.png
Normal file
BIN
common/src/main/res/mipmap-xxhdpi/update_tips_bos_one_to_one.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 481 KiB |
Reference in New Issue
Block a user