Prechádzať zdrojové kódy

Merge branch 'develop' of https://github.com/swict/LifeplusAndroid into develop

hyodong.min 6 rokov pred
rodič
commit
3f705de0e4

+ 6 - 9
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/event/select/EventDetailSelectFragment.java

@@ -125,15 +125,12 @@ public class EventDetailSelectFragment extends EventDetailBaseFragment<EventDeta
   @SuppressLint("ClickableViewAccessibility")
   @Override
   public void setScrollDisabled() {
-    recyclerViewEventDetail.setOnTouchListener(new View.OnTouchListener() {
-      @Override
-      public boolean onTouch(View view, MotionEvent motionEvent) {
-        switch (motionEvent.getAction()) {
-          case MotionEvent.ACTION_MOVE:
-            return true;
-          default:
-            return false;
-        }
+    recyclerViewEventDetail.setOnTouchListener((view, motionEvent) -> {
+      switch (motionEvent.getAction()) {
+        case MotionEvent.ACTION_MOVE:
+          return true;
+        default:
+          return false;
       }
     });
   }

+ 1 - 1
app/src/main/res/layout/event_select_type_text.xml

@@ -125,7 +125,7 @@
     android:layout_marginEnd="33dp"
     android:gravity="center"
     android:minHeight="245dp"
-    android:orientation="vertical"
+    android:orientation="horizontal"
     app:layout_constrainedHeight="true"
     app:layout_constraintBottom_toBottomOf="@+id/image_view_background"
     app:layout_constraintEnd_toEndOf="@+id/image_view_background"