hyodong.min 6 роки тому
батько
коміт
881b5a97a8

+ 0 - 16
app/src/dev/java/kr/co/zumo/app/lifeplus/view/screen/main/MainFragment.java

@@ -32,14 +32,10 @@ import kr.co.zumo.app.lifeplus.model.module.APILoginStatusMapper;
 import kr.co.zumo.app.lifeplus.model.module.APIMemberSelectModule;
 import kr.co.zumo.app.lifeplus.model.module.APIModuleListener;
 import kr.co.zumo.app.lifeplus.model.module.APIModuleSimpleListener;
-import kr.co.zumo.app.lifeplus.supervisor.ScreenID;
-import kr.co.zumo.app.lifeplus.supervisor.screen.Screen;
 import kr.co.zumo.app.lifeplus.util.AppUtil;
 import kr.co.zumo.app.lifeplus.util.Formatter;
 import kr.co.zumo.app.lifeplus.util.StringUtil;
-import kr.co.zumo.app.lifeplus.view.animation.LoadingDriver;
 import kr.co.zumo.app.lifeplus.view.command.ExitCommand;
-import kr.co.zumo.app.lifeplus.view.command.ScreenCommand;
 import kr.co.zumo.app.lifeplus.view.presenter.CommandInvoker;
 
 /**
@@ -112,17 +108,6 @@ public class MainFragment extends MainDebugFragment implements IMainView {
         SuperModel.getInstance().getPreferences().setZumoUserNo("---------------test--zumo-user----------------");
       });
 
-      button = findViewById(R.id.button_sign_up);
-      button.setOnClickListener(v -> {
-        new CommandInvoker().invoke(presenter, new ScreenCommand(ScreenID.SIGN_UP_START, ScreenID.DIRECTION_NEXT, Screen.METHOD_SKIP));
-      });
-
-      button = findViewById(R.id.button_0000);
-      button.setOnClickListener(v -> {
-        new LoadingDriver().create(getActivity(), 5000);
-        renderDebug();
-      });
-
       button = findViewById(R.id.button_set_account);
       button.setOnClickListener(v -> {
         initUser();
@@ -224,7 +209,6 @@ public class MainFragment extends MainDebugFragment implements IMainView {
 
   @Deprecated
   private void renderDebug() {
-    findViewById(R.id.button_sign_up).setEnabled(SuperModel.getInstance().isJoined() == false);
   }
 
   @Deprecated

+ 8 - 24
app/src/dev/res/layout/main_test_layout.xml

@@ -21,12 +21,12 @@
 
   <LinearLayout
     android:id="@+id/layout_test"
-    tools:visibility="gone"
     android:layout_width="match_parent"
     android:layout_height="wrap_content"
     android:background="@color/CFFFFFF"
     android:orientation="vertical"
-    android:paddingBottom="8dp">
+    android:paddingBottom="8dp"
+    tools:visibility="visible">
 
     <LinearLayout
       android:layout_width="match_parent"
@@ -75,19 +75,13 @@
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="MIN"/>
+
       <Button
         android:id="@+id/button_set_account_ha"
         style="@style/SignUpButton"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:text="HA"/>
-      <Button
-        android:id="@+id/button_7"
-        android:padding="0dp"
-        android:minWidth="50dp"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:text="7"/>
 
       <Space
         android:layout_width="0dp"
@@ -113,18 +107,6 @@
       android:paddingEnd="20dp"
       android:paddingBottom="10dp">
 
-      <Button
-        android:id="@+id/button_sign_up"
-        style="@style/SignUpButton"
-        android:layout_width="wrap_content"
-        android:layout_height="wrap_content"
-        android:text="Join"/>
-
-      <Space
-        android:layout_width="0dp"
-        android:layout_height="wrap_content"
-        android:layout_weight="1"/>
-
       <Button
         android:id="@+id/button_zumo"
         style="@style/SignUpButton"
@@ -138,11 +120,13 @@
         android:layout_weight="1"/>
 
       <Button
-        android:id="@+id/button_0000"
-        style="@style/SignUpButton"
+        android:id="@+id/button_7"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:text="0000"/>
+        android:minWidth="50dp"
+        android:padding="0dp"
+        android:text="7"/>
+
     </LinearLayout>