AzisMM

item_row_doa.xml

Sep 28th, 2021 (edited)
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.71 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    android:layout_width="match_parent"
  5.    android:layout_height="wrap_content"
  6.    android:layout_marginHorizontal="16dp"
  7.    android:layout_marginBottom="16dp"
  8.    app:cardCornerRadius="8dp"
  9.    app:cardElevation="8dp">
  10.  
  11.     <androidx.constraintlayout.widget.ConstraintLayout
  12.        android:layout_width="match_parent"
  13.        android:layout_height="match_parent"
  14.        android:padding="24dp">
  15.  
  16.         <androidx.appcompat.widget.AppCompatImageView
  17.            android:id="@+id/iv_logo_doa"
  18.            android:layout_width="75dp"
  19.            android:layout_height="75dp"
  20.            android:src="@drawable/ic_doa_sholat"
  21.            app:layout_constraintBottom_toBottomOf="parent"
  22.            app:layout_constraintStart_toStartOf="parent"
  23.            app:layout_constraintTop_toTopOf="parent" />
  24.  
  25.         <androidx.appcompat.widget.AppCompatTextView
  26.            android:id="@+id/tv_title_doa"
  27.            android:layout_width="0dp"
  28.            android:layout_height="wrap_content"
  29.            android:layout_marginStart="16dp"
  30.            android:fontFamily="@font/poppins_semi_bold"
  31.            android:textColor="@color/colorText"
  32.            android:textSize="16sp"
  33.            app:layout_constraintBottom_toBottomOf="@id/iv_logo_doa"
  34.            app:layout_constraintEnd_toEndOf="parent"
  35.            app:layout_constraintStart_toEndOf="@id/iv_logo_doa"
  36.            app:layout_constraintTop_toTopOf="@id/iv_logo_doa" />
  37.     </androidx.constraintlayout.widget.ConstraintLayout>
  38. </androidx.cardview.widget.CardView>
Add Comment
Please, Sign In to add comment