Преглед на файлове

[콘텐츠][Bug] 겹치는 이미지와 터치 영역 중복 시 나던 에러 수정

hyodong.min преди 6 години
родител
ревизия
402772e596

+ 0 - 3
.idea/gradle.xml

@@ -3,9 +3,6 @@
   <component name="GradleSettings">
     <option name="linkedExternalProjectsSettings">
       <GradleProjectSettings>
-        <compositeConfiguration>
-          <compositeBuild compositeDefinitionSource="SCRIPT" />
-        </compositeConfiguration>
         <option name="distributionType" value="DEFAULT_WRAPPED" />
         <option name="externalProjectPath" value="$PROJECT_DIR$" />
         <option name="modules">

+ 1 - 0
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/contents/ContentsCardHolder.java

@@ -93,6 +93,7 @@ public class ContentsCardHolder extends ContentsHolder<ContentsItemBean> {
             for (int i = 0; i < len; ++i) {
               ContentsDetailImageBean contentsDetailImageBean = list.get(i);
               ImageView imageView = new ImageView(itemView.getContext());
+              imageView.setId(View.generateViewId());
               imageView.setScaleType(ImageView.ScaleType.FIT_CENTER);
 
               parent.addView(imageView, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));

+ 0 - 1
app/src/main/res/layout/contents_card_listicle_detail.xml

@@ -15,7 +15,6 @@
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:scaleType="centerCrop"
-
       app:layout_constraintBottom_toBottomOf="parent"
       app:layout_constraintEnd_toEndOf="parent"
       app:layout_constraintStart_toStartOf="parent"