Explorar o código

替换小绵羊图标

zengjiebin %!s(int64=7) %!d(string=hai) anos
pai
achega
89ed1e3a5e

+ 2 - 4
app/src/main/java/com/sheep/jiuyan/samllsheep/utils/TitleBarUtils.java

@@ -432,12 +432,10 @@ public class TitleBarUtils {
                     actionBar.hide();
                 }
             } else {
-                activity.getWindow().getDecorView().findViewById(R.id.layout_navigationBar)
-                        .setVisibility(isShow ? View.VISIBLE : View.GONE);
+                ViewUtil.setVisibility(activity.getWindow().getDecorView().findViewById(R.id.layout_navigationBar), isShow);
             }
         } else {
-            activity.getWindow().getDecorView().findViewById(R.id.layout_navigationBar)
-                    .setVisibility(isShow ? View.VISIBLE : View.GONE);
+                ViewUtil.setVisibility(activity.getWindow().getDecorView().findViewById(R.id.layout_navigationBar), isShow);
         }
         return this;
     }

BIN=BIN
app/src/main/res/drawable-xxhdpi/icon.png


BIN=BIN
app/src/main/res/mipmap-xhdpi/icon.png