Android Studio中标记为错误这一行: public class ParallaxView extends ImageView
在这里的错误: This custom view should extend android.support.v7.widget.AppCompatImageView instead less... (Ctrl+F1)
In order to suppo
我有CustomLayout其中TextView我设置文本和绘制编程但是问题是当我设置drawable它正在添加一个巨大的填充与我想绘制更多在中心而不是顶部。 定制的ViewGroup public class ProfileGridView extends FrameLayout {
public ProfileGridView(@NonNull Context context) {
我只是想延长的ImageView: import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
public class SquareImageView extends ImageView {
public SquareImageView(C