Просмотр исходного кода

修复导航栏颜色的异常

zengjiebin лет назад: 8
Родитель
Сommit
51b0c7bf10

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

@@ -9,7 +9,7 @@
         android:id="@+id/navigationbar"
         android:layout_width="match_parent"
         android:layout_height="@dimen/layout_heigh_default"
-        android:background="#ffffff" />
+        android:background="@color/white_F9F9F9" />
     <include layout="@layout/title_bottom_line"/>
 
     <ScrollView

+ 1 - 2
app/src/main/res/layout/mainbar.xml

@@ -3,7 +3,7 @@
     android:id="@+id/layout_navigationBar"
     android:layout_width="match_parent"
     android:layout_height="@dimen/layout_heigh_default"
-    android:background="@color/white">
+    android:background="@color/white_F9F9F9">
 
 
     <ImageView
@@ -36,7 +36,6 @@
         android:layout_alignParentRight="true"
         android:layout_centerVertical="true"
         android:layout_marginRight="5dp"
-        android:background="@color/white"
         android:gravity="center"
         android:minWidth="@dimen/layout_heigh_default"
         android:textColor="@color/B"

+ 4 - 1
app/src/main/res/layout/title.xml

@@ -89,5 +89,8 @@
             android:layout_height="12dp"
             android:src="@mipmap/triangle_popup_nomal"/>
     </LinearLayout>
-    <include layout="@layout/title_bottom_line"/>
+    <include layout="@layout/title_bottom_line"
+        android:layout_width="match_parent"
+        android:layout_height="wrap_content"
+        android:layout_alignParentBottom="true"/>
 </RelativeLayout>

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

@@ -24,7 +24,7 @@
 
     <color name="bbb">#f7dc0f</color>
 
-    <color name="bg_class_grey">#f5f5f5</color>
+    <color name="bg_class_grey">#f9f9f9</color>
 
     <drawable name="transparent">#ffffffff</drawable>
 </resources>