Browse Source

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

hyodong.min 6 năm trước cách đây
mục cha
commit
7c398461c0

+ 1 - 0
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/my/bucketlist/BucketListDetailCardViewHolder.java

@@ -48,6 +48,7 @@ public class BucketListDetailCardViewHolder extends RecyclerView.ViewHolder {
   public void attach() {
     Glide.with(imageVieRelatedTagImage)
       .asBitmap()
+      .apply(new RequestOptions().centerCrop())
       .apply(new RequestOptions().placeholder(ResourceUtil.getDrawable(imageVieRelatedTagImage.getContext(), R.drawable.image_loading_common)))
       .load(lifeplusContentsBean.getImageUrl())
       .into(imageVieRelatedTagImage);

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

@@ -12,7 +12,7 @@
     android:id="@+id/image_view_related_tag_image"
     android:layout_width="124dp"
     android:layout_height="93dp"
-    android:scaleType="centerCrop"
+    android:scaleType="center"
     app:layout_constraintBottom_toBottomOf="parent"
     app:layout_constraintStart_toStartOf="parent"
     app:layout_constraintTop_toTopOf="parent"