Ver código fonte

[메인][New] 프로모션 다이얼로그 레이아웃 수정

hyodong.min 6 anos atrás
pai
commit
b90155e035
1 arquivos alterados com 10 adições e 5 exclusões
  1. 10 5
      app/src/main/res/layout/dialog_promotion.xml

+ 10 - 5
app/src/main/res/layout/dialog_promotion.xml

@@ -20,18 +20,23 @@
       android:layout_width="261dp"
       android:layout_height="342dp"
       android:background="@color/C999999"
+      app:layout_constraintBottom_toBottomOf="parent"
+      app:layout_constraintEnd_toEndOf="parent"
+      app:layout_constraintStart_toStartOf="parent"
+      app:layout_constraintTop_toTopOf="parent"
       />
 
-    <ImageView
+    <ImageButton
       android:id="@+id/image_view_cancel"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
-      android:layout_marginTop="15dp"
-      android:layout_marginEnd="15dp"
+      android:layout_marginTop="13dp"
+      android:layout_marginEnd="13dp"
+      android:background="?android:attr/selectableItemBackground"
       android:padding="10dp"
       app:layout_constraintEnd_toEndOf="@id/promotion_banner"
       app:layout_constraintTop_toTopOf="@+id/promotion_banner"
-      app:srcCompat="@drawable/icon_header_close"/>
+      app:srcCompat="@drawable/icon_h_close"/>
 
     <android.support.constraint.ConstraintLayout
       android:id="@+id/constraintLayout2"
@@ -46,7 +51,7 @@
         android:id="@+id/check_box_not_show"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
-        android:layout_marginStart="8dp"
+        android:layout_marginStart="18dp"
         android:layout_marginTop="8dp"
         android:layout_marginEnd="8dp"
         android:layout_marginBottom="8dp"