背景替换

This commit is contained in:
Rue Ji
2026-02-06 17:00:42 +08:00
parent cf4d3f1503
commit 7088f946a3
8 changed files with 33 additions and 40 deletions

View File

@ -4,7 +4,7 @@
<selectionStates>
<SelectionState runConfigName="app">
<option name="selectionMode" value="DROPDOWN" />
<DropdownSelection timestamp="2026-01-24T13:39:13.245162Z">
<DropdownSelection timestamp="2026-02-05T08:33:30.979941Z">
<Target type="DEFAULT_BOOT">
<handle>
<DeviceId pluginId="LocalEmulator" identifier="path=/Users/admin/.android/avd/Pixel_6.avd" />

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<corners android:radius="25dp"/>
<solid android:color="@color/main_theme_color"/>
</shape>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient
android:angle="270"
android:startColor="@color/main_theme_color"
android:endColor="@color/main_theme_green"
android:type="linear" />
</shape>

View File

@ -1,37 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@mipmap/moudle_loading_bg">
<ImageView
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_marginTop="30dp"
android:src="@mipmap/moudle_ipatrol_logo"/>
<TextView
android:layout_width="match_parent"
android:layout_height="18dp"
android:layout_marginTop="10dp"
android:gravity="center"
android:fontFamily="sans-serif-medium"
android:text="@string/app_name"/>
<ImageView
android:layout_width="match_parent"
android:layout_height="268dp"
android:layout_marginTop="75dp"
android:src="@mipmap/moudle_loading_pic"/>
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"/>
<ImageView
android:layout_width="45dp"
android:layout_height="20dp"
android:src="@mipmap/moudle_sipai"
android:layout_marginBottom="10dp"
android:layout_marginRight="12dp"
android:layout_gravity="right"/>
android:background="@drawable/login_bg_gradient">
</LinearLayout>
<ImageView
android:id="@+id/iv_logo"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:adjustViewBounds="true"
android:src="@mipmap/logo1" />
</RelativeLayout>

View File

@ -2,7 +2,7 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:background="@mipmap/moudle_ic_login_bg"
android:background="@drawable/login_bg_gradient"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
@ -10,14 +10,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginTop="70dp"
android:layout_marginTop="100dp"
android:gravity="center"
android:orientation="vertical">
<ImageView
<!-- <ImageView
android:layout_width="80dp"
android:layout_height="80dp"
android:src="@mipmap/moudle_ipatrol_logo" />
android:src="@mipmap/moudle_ipatrol_logo" /> -->
<TextView
android:layout_width="wrap_content"
@ -42,7 +42,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="20dp"
android:layout_marginTop="60dp"
android:layout_marginRight="15dp"
android:orientation="vertical">
@ -200,6 +200,7 @@
<Button
android:id="@+id/moudle_login_btn_login"
style="@style/wrap_layout_btn_blue"
android:background="@drawable/bg_login_btn_theme"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="50dp"

View File

@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#1368E1"
android:background="@drawable/login_bg_gradient"
android:gravity="center"
tools:context="com.sipai.jspatrol.setting.SettingActivity">
@ -121,7 +121,7 @@
android:text="完成"
android:textColor="@color/white"
android:textSize="16sp"
android:background="@drawable/bg_layout_shape_btn_blue"
android:background="@drawable/bg_login_btn_theme"
android:layout_marginLeft="10dp"/>
</LinearLayout>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB