背景替换
This commit is contained in:
2
.idea/deploymentTargetSelector.xml
generated
2
.idea/deploymentTargetSelector.xml
generated
@ -4,7 +4,7 @@
|
|||||||
<selectionStates>
|
<selectionStates>
|
||||||
<SelectionState runConfigName="app">
|
<SelectionState runConfigName="app">
|
||||||
<option name="selectionMode" value="DROPDOWN" />
|
<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">
|
<Target type="DEFAULT_BOOT">
|
||||||
<handle>
|
<handle>
|
||||||
<DeviceId pluginId="LocalEmulator" identifier="path=/Users/admin/.android/avd/Pixel_6.avd" />
|
<DeviceId pluginId="LocalEmulator" identifier="path=/Users/admin/.android/avd/Pixel_6.avd" />
|
||||||
|
|||||||
5
app/src/main/res/drawable/bg_login_btn_theme.xml
Normal file
5
app/src/main/res/drawable/bg_login_btn_theme.xml
Normal 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>
|
||||||
8
app/src/main/res/drawable/login_bg_gradient.xml
Normal file
8
app/src/main/res/drawable/login_bg_gradient.xml
Normal 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>
|
||||||
@ -1,37 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?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"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:background="@drawable/login_bg_gradient">
|
||||||
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"/>
|
|
||||||
|
|
||||||
</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>
|
||||||
@ -2,7 +2,7 @@
|
|||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
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_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
@ -10,14 +10,14 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:layout_marginTop="70dp"
|
android:layout_marginTop="100dp"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<ImageView
|
<!-- <ImageView
|
||||||
android:layout_width="80dp"
|
android:layout_width="80dp"
|
||||||
android:layout_height="80dp"
|
android:layout_height="80dp"
|
||||||
android:src="@mipmap/moudle_ipatrol_logo" />
|
android:src="@mipmap/moudle_ipatrol_logo" /> -->
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -42,7 +42,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="15dp"
|
android:layout_marginLeft="15dp"
|
||||||
android:layout_marginTop="20dp"
|
android:layout_marginTop="60dp"
|
||||||
android:layout_marginRight="15dp"
|
android:layout_marginRight="15dp"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
@ -200,6 +200,7 @@
|
|||||||
<Button
|
<Button
|
||||||
android:id="@+id/moudle_login_btn_login"
|
android:id="@+id/moudle_login_btn_login"
|
||||||
style="@style/wrap_layout_btn_blue"
|
style="@style/wrap_layout_btn_blue"
|
||||||
|
android:background="@drawable/bg_login_btn_theme"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="50dp"
|
android:layout_height="50dp"
|
||||||
android:layout_marginTop="50dp"
|
android:layout_marginTop="50dp"
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:background="#1368E1"
|
android:background="@drawable/login_bg_gradient"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
tools:context="com.sipai.jspatrol.setting.SettingActivity">
|
tools:context="com.sipai.jspatrol.setting.SettingActivity">
|
||||||
|
|
||||||
@ -121,7 +121,7 @@
|
|||||||
android:text="完成"
|
android:text="完成"
|
||||||
android:textColor="@color/white"
|
android:textColor="@color/white"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
android:background="@drawable/bg_layout_shape_btn_blue"
|
android:background="@drawable/bg_login_btn_theme"
|
||||||
android:layout_marginLeft="10dp"/>
|
android:layout_marginLeft="10dp"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 201 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/logo1.png
Normal file
BIN
app/src/main/res/mipmap-xxhdpi/logo1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user