当前位置: 首页 > 工具软件 > FB-Gallery > 使用案例 >

Gallery 背景颜色

甘学潞
2023-12-01
  photopage background


---------- packages/apps/Gallery2/res_iphone/values/iphone_colors.xml ----------
index fb7b1e4..d334ded 100644
@@ -7,7 +7,7 @@
     <color name="iphone_albumset_label_title">#000000</color>
     <color name="iphone_albumset_label_count">#000000</color>
     <color name="iphone_album_background">#ffffff</color>
-    <color name="iphone_photo_background">#000000</color>
+    <color name="iphone_photo_background">#ffffff</color>
     <color name="iphone_background_main_toolbar">#3f3e3f</color>
 
     <color name="iphone_filter_show_top_btn_text_color_focused">#80ffff00</color>


----- packages/apps/Gallery2/src/com/android/gallery3d/app/PhotoPage.java -----
index ae7462e..6025c1a 100755
@@ -331,7 +331,7 @@ public abstract class PhotoPage extends ActivityState implements
 
     @Override
     protected int getBackgroundColorId() {
-        return R.color.photo_background;
+        return R.color.iphone_photo_background;
     }
 
     private final GLView mRootPane = new GLView() {
 类似资料: