瀏覽代碼

[공통][Bug] custom switch wrapper - 오류 수정

hyodong.min 7 年之前
父節點
當前提交
519522d650
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      app/src/main/java/kr/co/zumo/app/lifeplus/view/custom/OnOffSwitch.java

+ 4 - 4
app/src/main/java/kr/co/zumo/app/lifeplus/view/custom/OnOffSwitch.java

@@ -27,18 +27,18 @@ public class OnOffSwitch extends Switch {
   protected CompoundButton.OnCheckedChangeListener onCheckedChangeListener;
 
   public OnOffSwitch(Context context) {
-//    super(context);
-    super(context, null, R.style.OnOffSwitch);
+    super(context);
+//    super(context, null, R.style.OnOffSwitch);
     init();
   }
 
   public OnOffSwitch(Context context, AttributeSet attrs) {
-    super(context, attrs, R.style.OnOffSwitch);
+    super(context, attrs);
     init();
   }
 
   public OnOffSwitch(Context context, AttributeSet attrs, int defStyleAttr) {
-    super(context, attrs, R.style.OnOffSwitch);
+    super(context, attrs, defStyleAttr);
     init();
   }