Frankensteinly 7 ay önce
ebeveyn
işleme
3d03268c75

+ 2 - 2
app/src/main/AndroidManifest.xml

@@ -27,10 +27,10 @@
         android:allowBackup="true"
         android:dataExtractionRules="@xml/data_extraction_rules"
         android:fullBackupContent="@xml/backup_rules"
-        android:icon="@mipmap/ic_launcher"
+        android:icon="@mipmap/logo"
         android:label="@string/app_name"
         android:networkSecurityConfig="@xml/common_network_config"
-        android:roundIcon="@mipmap/ic_launcher_round"
+        android:roundIcon="@mipmap/logo"
         android:supportsRtl="true"
         android:theme="@style/Theme.ISCS"
         tools:targetApi="31">

+ 9 - 1
app/src/main/res/layout/activity_home.xml

@@ -20,13 +20,21 @@
         app:layout_constraintRight_toLeftOf="@id/rl_page"
         app:layout_constraintTop_toTopOf="parent">
 
+        <ImageView
+            android:id="@+id/iv_logo"
+            android:layout_width="match_parent"
+            android:layout_height="12dp"
+            android:layout_centerHorizontal="true"
+            android:background="@mipmap/logo_inside"/>
+
         <TextView
             android:id="@+id/tv_app_title"
             style="@style/CommonTextView"
             android:layout_centerHorizontal="true"
             android:text="@string/app_title"
             android:textSize="@dimen/common_text_size_big"
-            android:textStyle="bold" />
+            android:textStyle="bold"
+            android:layout_below="@id/iv_logo"/>
 
         <View
             android:id="@+id/v_divider_title"

BIN
app/src/main/res/mipmap/logo.png


BIN
app/src/main/res/mipmap/logo_inside.png


+ 1 - 1
app/src/main/res/values/strings.xml

@@ -101,7 +101,7 @@
 
     <!--  设计图  -->
     <string name="loto">智能锁控系统</string>
-    <string name="app_title">Mars\n智能锁控</string>
+    <string name="app_title">智能锁控</string>
     <string name="job_management">作业管理</string>
     <string name="settings">设置</string>
     <string name="workshop">车间岗位</string>