更换底部导航icon
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user