詹子聪 5 éve
szülő
commit
5973b56273

+ 1 - 1
app/src/main/res/layout/activity_about.xml

@@ -5,7 +5,7 @@
     android:layout_height="match_parent"
     android:orientation="vertical"
     android:fitsSystemWindows="true"
-    android:background="@color/white"
+    android:background="@color/colorPrimary"
     android:paddingBottom="@dimen/margin_default">
     <!--启用深色模式之后,需要使用fitsSystemWindows来不让布局上滑-->
 

+ 1 - 1
app/src/main/res/layout/activity_forget.xml

@@ -3,7 +3,7 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
+    android:background="@color/colorPrimary"
     android:fitsSystemWindows="true"
     android:orientation="vertical"
     android:focusable="true"

+ 1 - 1
app/src/main/res/layout/activity_login.xml

@@ -3,7 +3,7 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
+    android:background="@color/colorPrimary"
     android:fitsSystemWindows="true"
     android:orientation="vertical"
     android:focusable="true"

+ 1 - 1
app/src/main/res/layout/activity_main.xml

@@ -34,7 +34,7 @@
         android:layout_height="wrap_content"
         android:layout_marginStart="0dp"
         android:layout_marginEnd="0dp"
-        android:background="@color/white"
+        android:background="@color/colorPrimary"
         app:itemRippleColor="?attr/selectableItemBackground"
         app:itemTextColor="@color/selector_nav_item_color"
         app:itemIconTint="@color/selector_nav_item_color"

+ 1 - 1
app/src/main/res/layout/activity_register.xml

@@ -3,7 +3,7 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
+    android:background="@color/colorPrimary"
     android:fitsSystemWindows="true"
     android:orientation="vertical"
     android:focusable="true"

+ 1 - 1
app/src/main/res/layout/fragment_function.xml

@@ -3,7 +3,7 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     xmlns:app="http://schemas.android.com/apk/res-auto"
-    android:background="@color/white"
+    android:background="@color/colorPrimary"
     android:orientation="vertical">
 
     <com.flyco.tablayout.SlidingTabLayout

+ 1 - 1
app/src/main/res/layout/fragment_function_template.xml

@@ -2,7 +2,7 @@
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
+    android:background="@color/colorPrimary"
     android:orientation="vertical">
 
     <androidx.recyclerview.widget.RecyclerView

+ 1 - 1
app/src/main/res/layout/fragment_home.xml

@@ -9,7 +9,7 @@
         android:layout_height="wrap_content"
         android:orientation="horizontal"
         android:gravity="center_vertical"
-        android:background="@color/white">
+        android:background="@color/colorPrimary">
 
         <RelativeLayout
             android:layout_width="@dimen/height_edit_text"

+ 1 - 1
app/src/main/res/layout/fragment_mine.xml

@@ -5,7 +5,7 @@
     android:fillViewport="true"
     android:fitsSystemWindows="true"
     android:orientation="vertical"
-    android:background="@color/white">
+    android:background="@color/colorPrimary">
 
 
     <LinearLayout

+ 1 - 1
app/src/main/res/layout/view_toolbar.xml

@@ -11,7 +11,7 @@
             android:id="@+id/toolbar"
             android:layout_width="match_parent"
             android:layout_height="@dimen/height_tool_bar"
-            android:background="@color/white"
+            android:background="@color/colorPrimary"
             app:titleTextAppearance="@style/Toolbar.TitleText"/>
         <include layout="@layout/view_divider_common" />