更换底部导航icon

This commit is contained in:
张玉久
2019-12-28 18:37:37 +08:00
parent 92719c538e
commit 5c0c227c3b
22 changed files with 31 additions and 57 deletions

View File

@ -202,7 +202,7 @@ public class DisplayUtils {
return (resourceId > 0 && hasSoftKeys(context)) ? resources.getDimensionPixelSize(resourceId) : 0;
}
private static boolean hasSoftKeys(Context context) {
public static boolean hasSoftKeys(Context context) {
if (!(context instanceof Activity)) return false;
boolean hasSoftwareKeys;