Procházet zdrojové kódy

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

hyodong.min před 7 roky
rodič
revize
519522d650

+ 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();
   }