Sheffi 7 месяцев назад
Родитель
Сommit
64c5290667

+ 1 - 0
ybvideoandroid/main/src/main/java/com/yunbao/main/activity/SettingActivity.java

@@ -76,6 +76,7 @@ public class SettingActivity extends AbsActivity implements OnItemClickListener<
             EventBus.getDefault().register(this);
         }
         setTitle(WordUtil.getString(R.string.setting));
+        changeStatusBarWhite(!true);
         mRecyclerView = (RecyclerView) findViewById(R.id.recyclerView);
         mRecyclerView.setHasFixedSize(true);
         mRecyclerView.setLayoutManager(new LinearLayoutManager(mContext, LinearLayoutManager.VERTICAL, false));

+ 2 - 0
ybvideoandroid/main/src/main/res/layout/activity_setting.xml

@@ -3,6 +3,7 @@
               android:layout_width="match_parent"
               android:layout_height="match_parent"
               android:orientation="vertical"
+              android:background="@color/white"
     >
 
     <include layout="@layout/view_title"/>
@@ -13,5 +14,6 @@
         android:layout_height="wrap_content"
         android:layout_marginTop="1dp"
         android:overScrollMode="never"
+        android:background="@color/white"
         />
 </LinearLayout>

+ 4 - 3
ybvideoandroid/main/src/main/res/layout/item_setting.xml

@@ -1,9 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
 <RelativeLayout
     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="60dp"
-    android:background="@color/black1"
+    android:background="@color/white"
     android:paddingLeft="15dp"
     android:paddingRight="15dp"
     >
@@ -23,11 +24,11 @@
         android:layout_alignParentRight="true"
         android:layout_centerVertical="true"
         android:src="@mipmap/icon_arrow_right"
-        android:tint="@color/gray8"
+        app:tint="@color/gray8"
         />
 
     <View
-        style="@style/line"
+        style="@style/line2"
         android:layout_alignParentBottom="true"
         />
 </RelativeLayout>

+ 4 - 3
ybvideoandroid/main/src/main/res/layout/item_setting_1.xml

@@ -1,9 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
 <RelativeLayout
     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="60dp"
-    android:background="@color/black1"
+    android:background="@color/white"
     android:paddingLeft="15dp"
     android:paddingRight="15dp"
     >
@@ -24,7 +25,7 @@
         android:layout_alignParentRight="true"
         android:layout_centerVertical="true"
         android:src="@mipmap/icon_arrow_right"
-        android:tint="@color/gray8"
+        app:tint="@color/gray8"
         />
     <TextView
         android:id="@+id/text"
@@ -38,7 +39,7 @@
         />
 
     <View
-        style="@style/line"
+        style="@style/line2"
         android:layout_alignParentBottom="true"
         />
 </RelativeLayout>

+ 3 - 2
ybvideoandroid/main/src/main/res/layout/item_setting_2.xml

@@ -3,6 +3,7 @@
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
+    android:background="@color/white"
     >
 
     <TextView
@@ -11,9 +12,9 @@
         android:layout_height="50dp"
         android:layout_marginBottom="40dp"
         android:layout_marginTop="40dp"
-        android:background="@color/black1"
+        android:background="@drawable/bg_login_gradient"
         android:gravity="center"
-        android:textColor="@color/global"
+        android:textColor="@color/white"
         android:textSize="16sp"
         />
 </FrameLayout>

+ 2 - 2
ybvideoandroid/main/src/main/res/layout/item_setting_3.xml

@@ -2,7 +2,7 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="60dp"
-    android:background="@color/black1"
+    android:background="@color/white"
     android:paddingLeft="15dp"
     >
 
@@ -28,6 +28,6 @@
         />
 
     <View
-        style="@style/line"
+        style="@style/line2"
         android:layout_alignParentBottom="true" />
 </RelativeLayout>