as31: Fix compilation ResourceReferenceAnnotatorUtil
This commit is contained in:
committed by
Nikolay Krasko
parent
ec460d88a7
commit
25fddaacfb
+3
-1
@@ -61,12 +61,14 @@ import java.awt.*;
|
|||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|
||||||
import static com.android.SdkConstants.*;
|
import static com.android.SdkConstants.*;
|
||||||
import static com.android.tools.idea.uibuilder.property.renderer.NlDefaultRenderer.ICON_SIZE;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Contains copied privates from AndroidColorAnnotator, so we could use them for Kotlin AndroidResourceReferenceAnnotator
|
* Contains copied privates from AndroidColorAnnotator, so we could use them for Kotlin AndroidResourceReferenceAnnotator
|
||||||
*/
|
*/
|
||||||
public class ResourceReferenceAnnotatorUtil {
|
public class ResourceReferenceAnnotatorUtil {
|
||||||
|
|
||||||
|
private static final int ICON_SIZE = 8;
|
||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
public static File pickBitmapFromXml(@NotNull File file, @NotNull ResourceResolver resourceResolver, @NotNull Project project) {
|
public static File pickBitmapFromXml(@NotNull File file, @NotNull ResourceResolver resourceResolver, @NotNull Project project) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user