Browse Source

[문의][Common] 문의내역 작성 페이지 라디오버튼 삭제

Hasemi 6 years ago
parent
commit
51484efeab

+ 0 - 12
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/faq/FAQWriteFragment.java

@@ -8,7 +8,6 @@ import android.view.LayoutInflater;
 import android.view.View;
 import android.view.ViewGroup;
 import android.widget.EditText;
-import android.widget.RadioGroup;
 import android.widget.TextView;
 
 import kr.co.zumo.app.R;
@@ -35,7 +34,6 @@ public class FAQWriteFragment extends FragmentBase<FAQWritePresenter> implements
   private View layoutNotice;
   private SwitchCompat switchPushOnOff;
   private View viewRegistration;
-  private RadioGroup radioGroupCategory;
 
   @Nullable
   @Override
@@ -50,7 +48,6 @@ public class FAQWriteFragment extends FragmentBase<FAQWritePresenter> implements
     textDeviceInfo = findViewById(R.id.text_device_info);
     layoutNotice = findViewById(R.id.layout_notice);
     viewRegistration = findViewById(R.id.button_registration);
-    radioGroupCategory = findViewById(R.id.radio_group_category);
 
     editContents.addTextChangedListener(new SimpleTextWatcher() {
       @Override
@@ -76,15 +73,6 @@ public class FAQWriteFragment extends FragmentBase<FAQWritePresenter> implements
       presenter.onEvent(new Event.Builder(Event.CANCEL).build());
     });
 
-    int len = radioGroupCategory.getChildCount();
-    for (int i = 0; i < len; ++i) {
-      (radioGroupCategory.getChildAt(i)).setOnClickListener(v -> {
-        int selectIndex = radioGroupCategory.indexOfChild(v);
-        presenter.onViewCategoryChecked(selectIndex);
-      });
-    }
-
-
   }
 
   @Override

+ 2 - 2
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/faq/FAQWritePresenter.java

@@ -142,9 +142,9 @@ public class FAQWritePresenter extends Presenter<FAQWriteModel, IFAQWriteView> {
    *
    * @param index
    */
-  public void onViewCategoryChecked(int index) {
+/*  public void onViewCategoryChecked(int index) {
     model.setCategory(index);
-  }
+  }*/
 
   /**
    * 문의 글 입력

+ 4 - 3
app/src/main/res/layout/fragment_my_faq_write.xml

@@ -13,7 +13,7 @@
     android:layout_height="wrap_content"
     android:orientation="vertical">
 
-    <LinearLayout
+    <!--<LinearLayout
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:layout_marginStart="25dp"
@@ -97,12 +97,13 @@
           />
       </RadioGroup>
 
-    </LinearLayout>
+    </LinearLayout>-->
 
     <LinearLayout
       android:layout_width="match_parent"
       android:layout_height="0dp"
       android:layout_marginStart="25dp"
+      android:layout_marginTop="21dp"
       android:layout_marginEnd="25dp"
       android:layout_weight="1"
       android:background="@drawable/rectangle_border_ce5e5e5_corner_2"
@@ -136,7 +137,7 @@
           android:layout_marginEnd="56dp"
           android:layout_marginBottom="10dp"
           android:gravity="center"
-          android:textColor="@color/CF27824"
+          android:textColor="@color/CFF0053"
           android:textSize="12sp"
           tools:text="51"/>