Answer the question
In order to leave comments, you need to log in
Android studio, java import inside "libraries" module?
package com.example.MyTestLib;
public class MyTestLibClass {
public int GetWindowSizePx(){
DisplayMetrics metrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(metrics);
return 123456789;
}
}
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.os.Bundle;
import android.view.MotionEvent;
Answer the question
In order to leave comments, you need to log in
Insert imports between package com.example.MyTestLib;
AND
public class MyTestLibClass
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question