Ver código fonte

修改关于我们页面样式和文案

Pq 1 ano atrás
pai
commit
d5b5908200

BIN
BaseLibrary/src/main/res/drawable-xhdpi/icon_arrow_right3.png


BIN
BaseLibrary/src/main/res/drawable-xxhdpi/icon_arrow_right3.png


BIN
student/src/main/res/drawable-xhdpi/icon_about_logo.png


BIN
student/src/main/res/drawable-xxhdpi/icon_about_logo.png


+ 49 - 33
student/src/main/res/layout/activity_about.xml

@@ -1,8 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
+    android:background="@color/white"
     android:orientation="vertical">
 
     <include
@@ -15,13 +16,14 @@
         android:layout_marginStart="14dp"
         android:layout_marginTop="15dp"
         android:layout_marginEnd="14dp"
-        android:background="@drawable/bg_white_10dp">
+        app:layout_constraintLeft_toLeftOf="parent"
+        app:layout_constraintTop_toBottomOf="@+id/toolbar_include">
 
         <ImageView
             android:id="@+id/im_logo"
-            android:layout_width="@dimen/dp_135"
-            android:layout_height="@dimen/dp_40"
-            android:layout_marginTop="43dp"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_marginTop="60dp"
             android:background="@drawable/icon_about_logo"
             app:layout_constraintLeft_toLeftOf="parent"
             app:layout_constraintRight_toRightOf="parent"
@@ -43,7 +45,7 @@
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_marginLeft="12dp"
-            android:layout_marginTop="88dp"
+            android:layout_marginTop="50dp"
             android:text="客服电话"
             android:textColor="@color/black_333"
             android:textSize="@dimen/sp_17"
@@ -54,7 +56,7 @@
             android:id="@+id/tv_connect_num"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:layout_marginTop="88dp"
+            android:layout_marginTop="50dp"
             android:layout_marginRight="12dp"
             android:text="15347100733"
             android:textColor="@color/color_999999"
@@ -67,63 +69,77 @@
             android:layout_width="match_parent"
             android:layout_height="1dp"
             android:layout_marginLeft="10dp"
-            android:layout_marginTop="14dp"
+            android:layout_marginTop="18dp"
             android:layout_marginRight="10dp"
             android:background="@color/color_f2f2f2"
             app:layout_constraintLeft_toLeftOf="parent"
             app:layout_constraintTop_toBottomOf="@+id/tv_connect_num" />
+
         <TextView
+            android:id="@+id/tv_email_title"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:textSize="@dimen/sp_17"
-            android:textColor="@color/black_333"
             android:layout_marginLeft="12dp"
-            android:layout_marginTop="10dp"
+            android:layout_marginTop="18dp"
             android:text="E-mail"
-            android:layout_marginBottom="14dp"
-            app:layout_constraintBottom_toBottomOf="parent"
+            android:textColor="@color/black_333"
+            android:textSize="@dimen/sp_17"
             app:layout_constraintLeft_toLeftOf="parent"
-            app:layout_constraintTop_toBottomOf="@+id/view_line1"
-            />
+            app:layout_constraintTop_toBottomOf="@+id/view_line1" />
 
         <TextView
             android:id="@+id/tv_email"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:layout_marginTop="9dp"
+            android:layout_marginRight="12dp"
             android:text="klx@kulexiu999.onexmail.com"
             android:textColor="@color/color_999999"
             android:textSize="@dimen/sp_17"
-            android:layout_marginRight="12dp"
+            app:layout_constraintBottom_toBottomOf="@+id/tv_email_title"
             app:layout_constraintRight_toRightOf="parent"
-            app:layout_constraintTop_toBottomOf="@+id/view_line1" />
-
+            app:layout_constraintTop_toTopOf="@+id/tv_email_title" />
 
+        <View
+            android:id="@+id/view_line2"
+            android:layout_width="match_parent"
+            android:layout_height="1dp"
+            android:layout_marginLeft="10dp"
+            android:layout_marginTop="18dp"
+            android:layout_marginRight="10dp"
+            android:background="@color/color_f2f2f2"
+            app:layout_constraintLeft_toLeftOf="parent"
+            app:layout_constraintTop_toBottomOf="@+id/tv_email_title" />
     </androidx.constraintlayout.widget.ConstraintLayout>
 
-
     <TextView
         android:id="@+id/tv_icp"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
+        android:layout_gravity="center_horizontal"
         android:layout_marginTop="33dp"
+        android:layout_marginBottom="2dp"
+        android:drawableRight="@drawable/icon_arrow_right3"
+        android:drawablePadding="4dp"
         android:gravity="center"
         android:includeFontPadding="false"
-        android:drawablePadding="4dp"
-        android:drawableRight="@drawable/icon_arrow_right"
-        android:text="ICP备案号:鄂ICP备2021020787号-4A"
-        android:layout_gravity="center_horizontal"
-        android:textColor="@color/color_999999"
-        android:textSize="@dimen/sp_13"/>
+        android:text="@string/icp_str"
+        android:textColor="@color/color_b2b2b2"
+        android:textSize="@dimen/sp_12"
+        app:layout_constraintBottom_toTopOf="@+id/tv_other_info"
+        app:layout_constraintLeft_toLeftOf="@+id/tv_other_info" />
 
     <TextView
+        android:id="@+id/tv_other_info"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:layout_marginTop="33dp"
-        android:lineSpacingExtra="2dp"
-        android:gravity="center"
-        android:text="Copyright2021-2022\n酷乐秀 colexiu.com 版权所有"
         android:layout_gravity="center_horizontal"
-        android:textColor="@color/color_999999"
-        android:textSize="@dimen/sp_13"/>
-</LinearLayout>
+        android:layout_marginBottom="30dp"
+        android:gravity="left"
+        android:lineSpacingExtra="2dp"
+        android:text="@string/app_info_record"
+        android:textColor="@color/color_b2b2b2"
+        android:textSize="@dimen/sp_12"
+        app:layout_constraintBottom_toBottomOf="parent"
+        app:layout_constraintLeft_toLeftOf="parent"
+        app:layout_constraintRight_toRightOf="parent" />
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 2 - 0
student/src/main/res/values/strings.xml

@@ -40,4 +40,6 @@
     <string name="save_pic_str">保存图片</string>
     <string name="share_tip_str">立即分享</string>
     <string name="custom_service_tip">或通过以下方式联系我们:\n客服电话:%s\n邮箱:%s</string>
+    <string name="icp_str">ICP备案号:鄂ICP备2021020787号-4A</string>
+    <string name="app_info_record">增值电信业务经营许可证:鄂B2-20231246\n教育移动互联网应用备案:教APP备4200224号\n网络安全等级保护备案号:42010043158-24001\nCopyright@2021-2024|酷乐秀 colexiu.com 版权所有</string>
 </resources>

BIN
teacher/src/main/res/drawable-xhdpi/icon_about_logo.png


BIN
teacher/src/main/res/drawable-xxhdpi/icon_about_logo.png


+ 49 - 33
teacher/src/main/res/layout/activity_about.xml

@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/color_f6f8f9"
+    android:background="@color/white"
     android:orientation="vertical">
 
     <include
@@ -16,13 +16,14 @@
         android:layout_marginStart="14dp"
         android:layout_marginTop="15dp"
         android:layout_marginEnd="14dp"
-        android:background="@drawable/bg_white_10dp">
+        app:layout_constraintLeft_toLeftOf="parent"
+        app:layout_constraintTop_toBottomOf="@+id/toolbar_include">
 
         <ImageView
             android:id="@+id/im_logo"
-            android:layout_width="@dimen/dp_135"
-            android:layout_height="@dimen/dp_40"
-            android:layout_marginTop="43dp"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
+            android:layout_marginTop="60dp"
             android:background="@drawable/icon_about_logo"
             app:layout_constraintLeft_toLeftOf="parent"
             app:layout_constraintRight_toRightOf="parent"
@@ -44,7 +45,7 @@
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_marginLeft="12dp"
-            android:layout_marginTop="88dp"
+            android:layout_marginTop="50dp"
             android:text="客服电话"
             android:textColor="@color/black_333"
             android:textSize="@dimen/sp_17"
@@ -55,7 +56,7 @@
             android:id="@+id/tv_connect_num"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:layout_marginTop="88dp"
+            android:layout_marginTop="50dp"
             android:layout_marginRight="12dp"
             android:text="15347100733"
             android:textColor="@color/color_999999"
@@ -68,62 +69,77 @@
             android:layout_width="match_parent"
             android:layout_height="1dp"
             android:layout_marginLeft="10dp"
-            android:layout_marginTop="14dp"
+            android:layout_marginTop="18dp"
             android:layout_marginRight="10dp"
             android:background="@color/color_f2f2f2"
             app:layout_constraintLeft_toLeftOf="parent"
             app:layout_constraintTop_toBottomOf="@+id/tv_connect_num" />
+
         <TextView
+            android:id="@+id/tv_email_title"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:textSize="@dimen/sp_17"
-            android:textColor="@color/black_333"
             android:layout_marginLeft="12dp"
-            android:layout_marginTop="9dp"
+            android:layout_marginTop="18dp"
             android:text="E-mail"
-            android:layout_marginBottom="14dp"
-            app:layout_constraintBottom_toBottomOf="parent"
+            android:textColor="@color/black_333"
+            android:textSize="@dimen/sp_17"
             app:layout_constraintLeft_toLeftOf="parent"
-            app:layout_constraintTop_toBottomOf="@+id/view_line1"
-            />
+            app:layout_constraintTop_toBottomOf="@+id/view_line1" />
 
         <TextView
             android:id="@+id/tv_email"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
-            android:layout_marginTop="9dp"
+            android:layout_marginRight="12dp"
             android:text="klx@kulexiu999.onexmail.com"
             android:textColor="@color/color_999999"
             android:textSize="@dimen/sp_17"
-            android:layout_marginRight="12dp"
+            app:layout_constraintBottom_toBottomOf="@+id/tv_email_title"
             app:layout_constraintRight_toRightOf="parent"
-            app:layout_constraintTop_toBottomOf="@+id/view_line1" />
-
+            app:layout_constraintTop_toTopOf="@+id/tv_email_title" />
 
+        <View
+            android:id="@+id/view_line2"
+            android:layout_width="match_parent"
+            android:layout_height="1dp"
+            android:layout_marginLeft="10dp"
+            android:layout_marginTop="18dp"
+            android:layout_marginRight="10dp"
+            android:background="@color/color_f2f2f2"
+            app:layout_constraintLeft_toLeftOf="parent"
+            app:layout_constraintTop_toBottomOf="@+id/tv_email_title" />
     </androidx.constraintlayout.widget.ConstraintLayout>
 
     <TextView
         android:id="@+id/tv_icp"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
+        android:layout_gravity="center_horizontal"
         android:layout_marginTop="33dp"
+        android:layout_marginBottom="2dp"
+        android:drawableRight="@drawable/icon_arrow_right3"
+        android:drawablePadding="4dp"
         android:gravity="center"
         android:includeFontPadding="false"
-        android:drawablePadding="4dp"
-        android:drawableRight="@drawable/icon_arrow_right"
-        android:text="ICP备案号:鄂ICP备2021020787号-5A"
-        android:layout_gravity="center_horizontal"
-        android:textColor="@color/color_999999"
-        android:textSize="@dimen/sp_13"/>
+        android:text="@string/icp_str"
+        android:textColor="@color/color_b2b2b2"
+        android:textSize="@dimen/sp_12"
+        app:layout_constraintBottom_toTopOf="@+id/tv_other_info"
+        app:layout_constraintLeft_toLeftOf="@+id/tv_other_info" />
 
     <TextView
+        android:id="@+id/tv_other_info"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:layout_marginTop="33dp"
-        android:lineSpacingExtra="2dp"
-        android:gravity="center"
-        android:text="Copyright2021-2022\n酷乐秀 colexiu.com 版权所有"
         android:layout_gravity="center_horizontal"
-        android:textColor="@color/color_999999"
-        android:textSize="@dimen/sp_13"/>
-</LinearLayout>
+        android:layout_marginBottom="30dp"
+        android:gravity="left"
+        android:lineSpacingExtra="2dp"
+        android:text="@string/app_info_record"
+        android:textColor="@color/color_b2b2b2"
+        android:textSize="@dimen/sp_12"
+        app:layout_constraintBottom_toBottomOf="parent"
+        app:layout_constraintLeft_toLeftOf="parent"
+        app:layout_constraintRight_toRightOf="parent" />
+</androidx.constraintlayout.widget.ConstraintLayout>

+ 2 - 0
teacher/src/main/res/values/strings.xml

@@ -51,5 +51,7 @@
     <string name="home_page_empty_tip">还没有内容,请「编辑」</string>
     <string name="custom_service_tip">或通过以下方式联系我们:\n客服电话:%s\n邮箱:%s</string>
     <string name="withdraw_protocol_tip">结算前需签署《结算协议》和绑定银行卡</string>
+    <string name="icp_str">ICP备案号:鄂ICP备2021020787号-5A</string>
+    <string name="app_info_record">增值电信业务经营许可证:鄂B2-20231246\n网络安全等级保护备案号:42010043158-24001\nCopyright@2021-2024|酷乐秀 colexiu.com 版权所有</string>
 
 </resources>