|
|
@@ -20,22 +20,22 @@ import kr.co.zumo.app.R;
|
|
|
* @history 하세미 [2018-11-01] [최초 작성]
|
|
|
* @since 2018-11-01
|
|
|
*/
|
|
|
-public class CustomSquareRadio extends ConstraintLayout {
|
|
|
+public class CustomSquareCheckBox extends ConstraintLayout {
|
|
|
|
|
|
private CheckBox checkBox;
|
|
|
|
|
|
- public CustomSquareRadio(Context context) {
|
|
|
+ public CustomSquareCheckBox(Context context) {
|
|
|
super(context);
|
|
|
init(context);
|
|
|
}
|
|
|
|
|
|
- public CustomSquareRadio(Context context, AttributeSet attrs) {
|
|
|
+ public CustomSquareCheckBox(Context context, AttributeSet attrs) {
|
|
|
super(context, attrs);
|
|
|
init(context);
|
|
|
getAttrs(attrs);
|
|
|
}
|
|
|
|
|
|
- public CustomSquareRadio(Context context, AttributeSet attrs, int defStyleAttr) {
|
|
|
+ public CustomSquareCheckBox(Context context, AttributeSet attrs, int defStyleAttr) {
|
|
|
super(context, attrs, defStyleAttr);
|
|
|
init(context);
|
|
|
getAttrs(attrs, defStyleAttr);
|
|
|
@@ -54,12 +54,12 @@ public class CustomSquareRadio extends ConstraintLayout {
|
|
|
}
|
|
|
|
|
|
private void getAttrs(AttributeSet attrs) {
|
|
|
- TypedArray typedArray = getContext().obtainStyledAttributes(attrs, R.styleable.CustomSquareRadio);
|
|
|
+ TypedArray typedArray = getContext().obtainStyledAttributes(attrs, R.styleable.CustomSquareCheckBox);
|
|
|
setTypeArray(typedArray);
|
|
|
}
|
|
|
|
|
|
private void getAttrs(AttributeSet attrs, int defStyleAttr) {
|
|
|
- TypedArray typedArray = getContext().obtainStyledAttributes(attrs, R.styleable.CustomSquareRadio, defStyleAttr, 0);
|
|
|
+ TypedArray typedArray = getContext().obtainStyledAttributes(attrs, R.styleable.CustomSquareCheckBox, defStyleAttr, 0);
|
|
|
setTypeArray(typedArray);
|
|
|
|
|
|
}
|