Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <ScrollView 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:id="@+id/scrollView"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginBottom="8dp"
- android:layout_marginEnd="16dp"
- android:layout_marginStart="16dp"
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
- tools:context="com.asiawisata.android.ui.notification_detail.NotificationDetailActivity"
- tools:showIn="@layout/activity_notification_detail">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:id="@+id/promoImage"
- android:layout_width="0dp"
- android:layout_height="180dp"
- android:contentDescription="@string/image_promo"
- android:scaleType="centerCrop"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- tools:srcCompat="@drawable/banner_ibe_app_umrah_ramadhan_15_hari" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintBottom_toTopOf="@+id/linearLayout"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/promoImage">
- <TextView
- android:id="@+id/promoTitle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:textSize="18sp"
- android:textStyle="bold"
- tools:text="Judul Promo" />
- <TextView
- android:id="@+id/promoDate"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textSize="12sp"
- tools:text="Tanggal promo" />
- <TextView
- android:id="@+id/promoDetail"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- tools:text="Detail promo" />
- <TextView
- android:id="@+id/txtLink"
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/colorAccent"
- android:text="Selengkapnya klik disini"/>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/linearLayout"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:padding="16dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent">
- <Button
- android:id="@+id/notificationDetailBtn"
- style="@style/ButtonCyan"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_weight="1"
- android:textColor="@color/white"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- tools:layout_editor_absoluteY="283dp"
- tools:text="Cari TIket Pesawat" />
- </LinearLayout>
- <ProgressBar
- android:id="@+id/progressBar"
- style="?android:attr/progressBarStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginBottom="8dp"
- android:layout_marginEnd="8dp"
- android:layout_marginStart="8dp"
- android:layout_marginTop="8dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="@+id/promoImage" />
- </androidx.constraintlayout.widget.ConstraintLayout>
- </ScrollView>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement