Переглянути джерело

[카테고리메인][Bug] 이름변경

Hasemi 7 роки тому
батько
коміт
eec9da617b

+ 6 - 6
app/src/main/java/kr/co/zumo/app/lifeplus/view/custom/CustomSquareRadio.java

@@ -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);
 
   }

+ 5 - 5
app/src/main/res/layout/dialog_first_category_main_filter.xml

@@ -47,7 +47,7 @@
     app:layout_constraintStart_toStartOf="parent"
     app:layout_constraintTop_toTopOf="@+id/text_view_filter"/>
 
-  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareRadio
+  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareCheckBox
     android:id="@+id/first"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
@@ -71,7 +71,7 @@
     app:layout_constraintTop_toBottomOf="@+id/first"
     />
 
-  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareRadio
+  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareCheckBox
     android:id="@+id/second"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
@@ -94,7 +94,7 @@
     app:layout_constraintTop_toBottomOf="@+id/second"
     />
 
-  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareRadio
+  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareCheckBox
     android:id="@+id/third"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
@@ -117,7 +117,7 @@
     app:layout_constraintTop_toBottomOf="@+id/third"
     />
 
-  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareRadio
+  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareCheckBox
     android:id="@+id/fourth"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
@@ -140,7 +140,7 @@
     app:layout_constraintTop_toBottomOf="@+id/fourth"
     />
 
-  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareRadio
+  <kr.co.zumo.app.lifeplus.view.custom.CustomSquareCheckBox
     android:id="@+id/fifth"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"

+ 1 - 1
app/src/main/res/values/attrs.xml

@@ -8,7 +8,7 @@
   <attr name="customSwitchStyle" format="reference"/>
 </declare-styleable>
   <!-- CustomSquareRadio 레퍼런스 속성-->
-  <declare-styleable name="CustomSquareRadio">
+  <declare-styleable name="CustomSquareCheckBox">
     <attr name="radioText" format="reference|string"/>
   </declare-styleable>
   <!-- BlackButtonWithArrow 레퍼런스 속성-->