Sfoglia il codice sorgente

修复部分界面背景透明的情况

zengjiebin 7 anni fa
parent
commit
47e5837bb6
43 ha cambiato i file con 74 aggiunte e 70 eliminazioni
  1. 2 1
      app/src/main/res/layout/act_audit_layout.xml
  2. 2 2
      app/src/main/res/layout/act_comment_game_app.xml
  3. 2 2
      app/src/main/res/layout/act_game_group_or_game_detail.xml
  4. 1 1
      app/src/main/res/layout/act_game_make_money.xml
  5. 2 2
      app/src/main/res/layout/act_gc_game_app_detail.xml
  6. 2 2
      app/src/main/res/layout/act_gift_detail.xml
  7. 2 2
      app/src/main/res/layout/act_media_choose.xml
  8. 2 2
      app/src/main/res/layout/act_modify_third.xml
  9. 2 2
      app/src/main/res/layout/act_msg.xml
  10. 1 1
      app/src/main/res/layout/act_publish_article.xml
  11. 2 2
      app/src/main/res/layout/act_search_app.xml
  12. 2 2
      app/src/main/res/layout/act_search_app_or_task.xml
  13. 2 1
      app/src/main/res/layout/act_sign_card.xml
  14. 2 2
      app/src/main/res/layout/act_sys_nf_detail.xml
  15. 2 2
      app/src/main/res/layout/act_test_expression.xml
  16. 2 2
      app/src/main/res/layout/act_user_app_home.xml
  17. 1 1
      app/src/main/res/layout/activity_active_rule.xml
  18. 1 3
      app/src/main/res/layout/activity_login.xml
  19. 2 2
      app/src/main/res/layout/activity_message_interaction.xml
  20. 2 1
      app/src/main/res/layout/common_container.xml
  21. 2 2
      app/src/main/res/layout/common_net_srl_rv.xml
  22. 1 1
      app/src/main/res/layout/common_srl_rv.xml
  23. 2 2
      app/src/main/res/layout/common_tab_vp.xml
  24. 2 2
      app/src/main/res/layout/common_title_net_srl_rv.xml
  25. 2 2
      app/src/main/res/layout/common_title_srl_rv.xml
  26. 1 1
      app/src/main/res/layout/fgt_find.xml
  27. 1 1
      app/src/main/res/layout/fgt_game_center.xml
  28. 2 2
      app/src/main/res/layout/fgt_playgame_gift_item.xml
  29. 1 1
      app/src/main/res/layout/fgt_try_makemoney_layout.xml
  30. 1 1
      app/src/main/res/layout/net_empty_fresh_list_more.xml
  31. 2 2
      app/src/main/res/layout/net_empty_smart_refresh_rv_exp_input.xml
  32. 1 1
      app/src/main/res/layout/net_empty_smart_refresh_rv_input.xml
  33. 2 2
      app/src/main/res/layout/net_empty_xrecycler.xml
  34. 2 2
      app/src/main/res/layout/net_empty_xrecycler_rv.xml
  35. 2 2
      app/src/main/res/layout/new_year_act_my_money.xml
  36. 1 3
      app/src/main/res/layout/pay_result.xml
  37. 2 1
      app/src/main/res/layout/recharge_result_act_layout.xml
  38. 2 2
      app/src/main/res/layout/sign_rankings_layout.xml
  39. 2 1
      app/src/main/res/layout/task_detail_layout.xml
  40. 2 2
      app/src/main/res/layout/try_makemoney_act_layout.xml
  41. 2 1
      app/src/main/res/layout/withdrawal_success_layout.xml
  42. 2 1
      app/src/main/res/layout/xpersion_info_act_layout.xml
  43. 1 0
      app/src/main/res/values/colors.xml

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

@@ -3,7 +3,8 @@
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <android.support.constraint.ConstraintLayout
         android:id="@+id/root_1"

+ 2 - 2
app/src/main/res/layout/act_comment_game_app.xml

@@ -2,9 +2,9 @@
 <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:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <RelativeLayout
         android:layout_width="match_parent"

+ 2 - 2
app/src/main/res/layout/act_game_group_or_game_detail.xml

@@ -4,8 +4,8 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
-    tools:context="com.sheep.gamegroup.module.game.activity.ActGameGroupOrGameDetail">
+    tools:context="com.sheep.gamegroup.module.game.activity.ActGameGroupOrGameDetail"
+    android:background="@color/bg">
 
     <TextView
         android:id="@+id/gc_game_app_detail_bt2"

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

@@ -4,7 +4,7 @@
     android:layout_height="wrap_content"
     android:orientation="vertical"
     android:fitsSystemWindows="true"
-    android:background="@color/white">
+    android:background="@color/bg">
 
     <LinearLayout
         android:id="@+id/show_flow_layout"

+ 2 - 2
app/src/main/res/layout/act_gc_game_app_detail.xml

@@ -4,8 +4,8 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
-    tools:context="com.sheep.gamegroup.view.activity.ActGcGameAppDetail">
+    tools:context="com.sheep.gamegroup.view.activity.ActGcGameAppDetail"
+    android:background="@color/bg">
 
     <com.scwang.smartrefresh.layout.SmartRefreshLayout
         android:id="@+id/refresh"

+ 2 - 2
app/src/main/res/layout/act_gift_detail.xml

@@ -2,9 +2,9 @@
 <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:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <include layout="@layout/item_download_welfare" />
 

+ 2 - 2
app/src/main/res/layout/act_media_choose.xml

@@ -2,9 +2,9 @@
 <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:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <android.support.design.widget.TabLayout
         android:id="@+id/indicator"

+ 2 - 2
app/src/main/res/layout/act_modify_third.xml

@@ -2,9 +2,9 @@
 <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:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <TextView
         android:layout_width="match_parent"

+ 2 - 2
app/src/main/res/layout/act_msg.xml

@@ -2,9 +2,9 @@
 <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:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <android.support.v4.view.ViewPager
         android:id="@+id/act_msg_vp"

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

@@ -3,7 +3,7 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:background="@color/white">
+    android:background="@color/bg">
 
     <android.support.v7.widget.AppCompatEditText
         android:id="@+id/act_publish_article_et"

+ 2 - 2
app/src/main/res/layout/act_search_app.xml

@@ -2,9 +2,9 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
     android:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <ListView
         android:id="@+id/search_app_list"

+ 2 - 2
app/src/main/res/layout/act_search_app_or_task.xml

@@ -2,9 +2,9 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
     android:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <android.support.v7.widget.RecyclerView
         android:id="@+id/search_app_list"

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

@@ -3,7 +3,8 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <android.support.v4.widget.NestedScrollView
         android:layout_width="match_parent"

+ 2 - 2
app/src/main/res/layout/act_sys_nf_detail.xml

@@ -2,9 +2,9 @@
 <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:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <TextView
         android:id="@+id/tv_title"

+ 2 - 2
app/src/main/res/layout/act_test_expression.xml

@@ -2,8 +2,8 @@
 <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:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <LinearLayout
         android:id="@+id/llContent"

+ 2 - 2
app/src/main/res/layout/act_user_app_home.xml

@@ -5,8 +5,8 @@
     android:id="@+id/refresh"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
-    tools:context="com.sheep.gamegroup.view.activity.ActUserAppHome">
+    tools:context="com.sheep.gamegroup.view.activity.ActUserAppHome"
+    android:background="@color/bg">
 
     <android.support.v4.widget.NestedScrollView
         android:layout_width="match_parent"

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

@@ -4,7 +4,7 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:background="@color/white">
+    android:background="@color/bg">
 
     <TextView
         android:id="@+id/active_rule_text"

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

@@ -1,7 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:orientation="vertical">
@@ -9,5 +7,5 @@
         android:id="@+id/fragment_container"
         android:background="@color/white"
         android:layout_width="match_parent"
-        android:layout_height="match_parent"></FrameLayout>
+        android:layout_height="match_parent"/>
 </LinearLayout>

+ 2 - 2
app/src/main/res/layout/activity_message_interaction.xml

@@ -3,8 +3,8 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:background="@color/white"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <TextView
         android:id="@+id/tv_title"

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

@@ -3,4 +3,5 @@
     android:id="@+id/frame_container"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:fitsSystemWindows="true"/>
+    android:fitsSystemWindows="true"
+    android:background="@color/bg"/>

+ 2 - 2
app/src/main/res/layout/common_net_srl_rv.xml

@@ -2,8 +2,8 @@
 <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:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <include
         android:id="@+id/check_net_ll"

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

@@ -3,7 +3,7 @@
     android:id="@+id/swipeRefreshLayout"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
-    android:background="@color/white">
+    android:background="@color/bg">
 
     <LinearLayout
         android:layout_width="match_parent"

+ 2 - 2
app/src/main/res/layout/common_tab_vp.xml

@@ -2,9 +2,9 @@
 <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:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <android.support.design.widget.TabLayout
         android:id="@+id/indicator"

+ 2 - 2
app/src/main/res/layout/common_title_net_srl_rv.xml

@@ -2,8 +2,8 @@
 <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:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <include
         android:id="@+id/title"

+ 2 - 2
app/src/main/res/layout/common_title_srl_rv.xml

@@ -2,8 +2,8 @@
 <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:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <include
         android:id="@+id/title"

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

@@ -2,7 +2,7 @@
 <RelativeLayout 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/bg">
 
     <ImageView
         android:layout_width="match_parent"

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

@@ -2,7 +2,7 @@
 <RelativeLayout 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/bg">
 
     <ImageView
         android:layout_width="match_parent"

+ 2 - 2
app/src/main/res/layout/fgt_playgame_gift_item.xml

@@ -3,8 +3,8 @@
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:orientation="vertical"
-    android:background="@color/white"
-    android:padding="@dimen/content_padding_15">
+    android:padding="@dimen/content_padding_15"
+    android:background="@color/bg">
 
     <LinearLayout
         android:layout_width="match_parent"

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

@@ -5,7 +5,7 @@
     android:paddingBottom="@dimen/content_padding_10"
     android:paddingEnd="4dp"
     android:paddingStart="4dp"
-    android:background="@color/white">
+    android:background="@color/bg">
 
     <include
         android:id="@+id/empty_view"

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

@@ -3,7 +3,7 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:background="@color/white">
+    android:background="@color/bg">
 
     <include
         android:id="@+id/check_net_ll"

+ 2 - 2
app/src/main/res/layout/net_empty_smart_refresh_rv_exp_input.xml

@@ -2,9 +2,9 @@
 <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:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
         android:id="@+id/rlContent"

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

@@ -3,7 +3,7 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:background="@color/white">
+    android:background="@color/bg">
 
     <include
         android:id="@+id/check_net_ll"

+ 2 - 2
app/src/main/res/layout/net_empty_xrecycler.xml

@@ -2,8 +2,8 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
-    android:fitsSystemWindows="true">
+    android:fitsSystemWindows="true"
+    android:background="@color/bg">
 
     <include
         android:id="@+id/check_net_ll"

+ 2 - 2
app/src/main/res/layout/net_empty_xrecycler_rv.xml

@@ -2,8 +2,8 @@
 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
-    android:background="@color/white"
-    android:fitsSystemWindows="true">
+    android:fitsSystemWindows="true"
+    android:background="@color/bg">
 
     <include
         android:id="@+id/check_net_ll"

+ 2 - 2
app/src/main/res/layout/new_year_act_my_money.xml

@@ -5,8 +5,8 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:orientation="vertical"
-    android:background="@color/white"
-    tools:context="com.sheep.gamegroup.view.activity.NewYearActMyMoney">
+    tools:context="com.sheep.gamegroup.view.activity.NewYearActMyMoney"
+    android:background="@color/bg">
 
     <android.support.constraint.ConstraintLayout
         android:layout_width="match_parent"

+ 1 - 3
app/src/main/res/layout/pay_result.xml

@@ -1,12 +1,10 @@
 <?xml version="1.0" encoding="utf-8"?>
-
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
-
 	android:layout_width="fill_parent"
 	android:layout_height="fill_parent"
 	android:orientation="vertical"
 	android:gravity="center_horizontal"
-	android:background="@color/white">
+	android:background="@color/bg">
     
 	<TextView
 	    android:layout_width="fill_parent"

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

@@ -3,7 +3,8 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <include layout="@layout/title" />
 

+ 2 - 2
app/src/main/res/layout/sign_rankings_layout.xml

@@ -2,9 +2,9 @@
 <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:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <android.support.design.widget.TabLayout
         android:id="@+id/sign_tab"

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

@@ -4,7 +4,8 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <include
         android:id="@+id/empty_view"

+ 2 - 2
app/src/main/res/layout/try_makemoney_act_layout.xml

@@ -4,8 +4,8 @@
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:fitsSystemWindows="true"
-    android:background="@color/white"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <RelativeLayout
         android:layout_width="match_parent"

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

@@ -3,7 +3,8 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:orientation="vertical">
+    android:orientation="vertical"
+    android:background="@color/bg">
 
     <ImageView
         android:id="@+id/withdrawal_image_iv"

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

@@ -3,7 +3,8 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent"
     android:fitsSystemWindows="true"
-    android:scrollbars="none">
+    android:scrollbars="none"
+    android:background="@color/bg">
 
     <LinearLayout
         android:layout_width="match_parent"

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

@@ -5,6 +5,7 @@
     <color name="theme_app_dark">#f9a006</color>
     <color name="theme">@color/theme_bule</color>
     <color name="translate">#00ffffff</color>
+    <color name="bg">#ffffff</color>
     <color name="white">#ffffff</color>
     <color name="green">#4cd117</color>