Bläddra i källkod

[이벤트][Common] 참여하기 화면 뒤로가기 추가

Hasemi 7 år sedan
förälder
incheckning
2c7094c9b8

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/event/EventParticipationPresenter.java

@@ -62,7 +62,7 @@ public class EventParticipationPresenter extends Presenter<EventParticipationMod
 
   @Override
   public boolean onBackPressedInternal() {
-    go(ScreenID.EVENT);
+    back(ScreenID.EVENT);
     return true;
   }
 

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

@@ -17,10 +17,10 @@
     android:focusable="true"
     android:lineSpacingExtra="5sp"
     android:textColor="@color/C000000"
-    app:layout_constraintTop_toTopOf="parent"
-    app:layout_constraintStart_toStartOf="parent"
+    android:textSize="14sp"
     app:layout_constraintEnd_toStartOf="@+id/edit_text_phone_number"
-    android:textSize="14sp"/>
+    app:layout_constraintStart_toStartOf="parent"
+    app:layout_constraintTop_toTopOf="parent"/>
 
   <View
     android:id="@+id/spinner_divider"
@@ -38,6 +38,7 @@
     android:layout_marginTop="2dp"
     android:background="@drawable/button_underline_background"
     android:hint="@string/event_participation_phone_hint"
+    android:inputType="number"
     android:lineSpacingExtra="6sp"
     android:maxLength="8"
     android:maxLines="1"

+ 7 - 5
app/src/main/res/layout/event_participation_item_score.xml

@@ -25,8 +25,9 @@
     android:layout_marginTop="2dp"
     android:background="@drawable/button_underline_background"
     android:hint="@string/korea"
+    android:inputType="number"
     android:lineSpacingExtra="6sp"
-    android:maxLength="5"
+    android:maxLength="1"
     android:maxLines="1"
     android:paddingStart="5dp"
     android:paddingBottom="35dp"
@@ -43,12 +44,12 @@
     android:id="@+id/view"
     android:layout_width="wrap_content"
     android:layout_height="wrap_content"
-    app:layout_constraintTop_toBottomOf="@+id/text_view_score"
     android:layout_marginTop="23dp"
     android:paddingStart="6dp"
     android:paddingEnd="6dp"
     app:layout_constraintEnd_toStartOf="@+id/edit_text_score2"
-    app:layout_constraintStart_toEndOf="@+id/edit_text_score1">
+    app:layout_constraintStart_toEndOf="@+id/edit_text_score1"
+    app:layout_constraintTop_toBottomOf="@+id/text_view_score">
 
     <View
       android:id="@+id/view1"
@@ -74,8 +75,9 @@
     android:layout_marginTop="2dp"
     android:background="@drawable/button_underline_background"
     android:hint="@string/sweden"
+    android:inputType="number"
     android:lineSpacingExtra="6sp"
-    android:maxLength="5"
+    android:maxLength="1"
     android:maxLines="1"
     android:paddingStart="5dp"
     android:paddingBottom="35dp"
@@ -100,9 +102,9 @@
     android:textColor="@color/C666666"
     android:textSize="11sp"
     android:visibility="gone"
-    tools:visibility="visible"
     app:layout_constraintTop_toBottomOf="@+id/edit_text_nickname"
     app:layout_constraintTop_toTopOf="@+id/edit_text_score1"
     app:layout_constraintVertical_chainStyle="spread_inside"
+    tools:visibility="visible"
     />
 </android.support.constraint.ConstraintLayout>