Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".menus.doa.MenuDoaActivity">
- <androidx.appcompat.widget.Toolbar
- android:id="@+id/toolbar_menu_doa"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/colorPrimary"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:navigationIcon="@drawable/ic_baseline_arrow_back_ios_24"
- app:title="@string/text_menu_doa"
- app:titleTextAppearance="@style/ToolbarAppeareance"
- app:titleTextColor="@color/colorWhite" />
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/iv_header"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:src="@drawable/bg_header_doa"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/toolbar_menu_doa" />
- <androidx.cardview.widget.CardView
- android:id="@+id/card_doa_pagi_malam"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="8dp"
- app:cardCornerRadius="8dp"
- app:contentPadding="16dp"
- app:layout_constraintEnd_toStartOf="@id/card_doa_rumah"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/iv_header">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/iv_icon_doa_pagi_malam"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_doa_pagi_malam"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <androidx.appcompat.widget.AppCompatTextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:fontFamily="@font/poppins_semi_bold"
- android:lines="2"
- android:text="@string/text_pagi_dan_malam"
- android:textAlignment="center"
- android:textColor="@color/colorText"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/iv_icon_doa_pagi_malam"
- android:gravity="center_horizontal" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/card_doa_rumah"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
- app:cardCornerRadius="8dp"
- app:contentPadding="16dp"
- app:layout_constraintEnd_toStartOf="@id/card_doa_makanan_minuman"
- app:layout_constraintStart_toEndOf="@id/card_doa_pagi_malam"
- app:layout_constraintTop_toBottomOf="@id/iv_header">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/iv_icon_doa_rumah"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_doa_rumah"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <androidx.appcompat.widget.AppCompatTextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:fontFamily="@font/poppins_semi_bold"
- android:lines="2"
- android:text="@string/text_rumah"
- android:textAlignment="center"
- android:textColor="@color/colorText"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/iv_icon_doa_rumah"
- android:gravity="center_horizontal" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/card_doa_makanan_minuman"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginEnd="8dp"
- app:cardCornerRadius="8dp"
- app:contentPadding="16dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@id/card_doa_rumah"
- app:layout_constraintTop_toBottomOf="@id/iv_header">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/iv_icon_doa_makanan_minuman"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_doa_makanan_minuman"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <androidx.appcompat.widget.AppCompatTextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:fontFamily="@font/poppins_semi_bold"
- android:lines="2"
- android:text="@string/text_makanan_amp_minuman"
- android:textAlignment="center"
- android:textColor="@color/colorText"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/iv_icon_doa_makanan_minuman"
- android:gravity="center_horizontal" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/card_doa_perjalanan"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginTop="16dp"
- android:layout_marginRight="8dp"
- app:cardCornerRadius="8dp"
- app:contentPadding="16dp"
- app:layout_constraintEnd_toStartOf="@id/card_doa_sholat"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/card_doa_pagi_malam">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/iv_icon_doa_perjalanan"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_doa_perjalanan"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <androidx.appcompat.widget.AppCompatTextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:fontFamily="@font/poppins_semi_bold"
- android:lines="2"
- android:text="@string/text_perjalanan"
- android:textAlignment="center"
- android:textColor="@color/colorText"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/iv_icon_doa_perjalanan"
- android:gravity="center_horizontal" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/card_doa_sholat"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="8dp"
- app:cardCornerRadius="8dp"
- app:contentPadding="16dp"
- app:layout_constraintEnd_toStartOf="@id/card_doa_etika_baik"
- app:layout_constraintStart_toEndOf="@id/card_doa_perjalanan"
- app:layout_constraintTop_toBottomOf="@id/card_doa_rumah">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/iv_icon_doa_sholat"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_doa_sholat"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <androidx.appcompat.widget.AppCompatTextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:fontFamily="@font/poppins_semi_bold"
- android:lines="2"
- android:text="@string/text_sholat"
- android:textAlignment="center"
- android:textColor="@color/colorText"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/iv_icon_doa_sholat"
- android:gravity="center_horizontal" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- <androidx.cardview.widget.CardView
- android:id="@+id/card_doa_etika_baik"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginStart="8dp"
- android:layout_marginTop="16dp"
- android:layout_marginEnd="8dp"
- app:cardCornerRadius="8dp"
- app:contentPadding="16dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toEndOf="@id/card_doa_sholat"
- app:layout_constraintTop_toBottomOf="@id/card_doa_makanan_minuman">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <androidx.appcompat.widget.AppCompatImageView
- android:id="@+id/iv_icon_doa_etika_baik"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_doa_etika_baik"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
- <androidx.appcompat.widget.AppCompatTextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:fontFamily="@font/poppins_semi_bold"
- android:lines="2"
- android:text="@string/text_etika_baik"
- android:textAlignment="center"
- android:textColor="@color/colorText"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@id/iv_icon_doa_etika_baik"
- android:gravity="center_horizontal" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement