[ANDROID] CUSTOM ATTRIBUTE RELATIVELAYOUT
custom attribute xml 설정 방법과 값 가져오기 class package com.polarglow.custom; import android.content.Context; import android.util.AttributeSet; import android.widget.RelativeLayout; /** A RelativeLayout that will always be square -- same width and height, * where the height is based off the width. */ public class SquareRelativeLayout extends RelativeLayout { public SquareRelativeLayout(Context context)..
2020.12.10