Created
December 12, 2019 07:19
-
-
Save gideonseven/d48be6ec5c41fbe03b87dee9e3232309 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="259dp"> | |
<androidx.appcompat.widget.AppCompatImageView | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:src="@mipmap/ic_placeholder"/> | |
<View | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="@drawable/bg_gradient"/> | |
<androidx.appcompat.widget.AppCompatTextView | |
android:id="@+id/txtMovieTitle" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
tools:text="Movie Name" | |
android:textColor="@android:color/white" | |
android:textSize="16sp" | |
android:textStyle="bold" | |
android:layout_marginStart="20dp" | |
app:layout_constraintBottom_toTopOf="@+id/txtYear" | |
app:layout_constraintStart_toStartOf="parent"/> | |
<androidx.appcompat.widget.AppCompatTextView | |
android:id="@+id/txtYear" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
tools:text="2012" | |
android:textColor="@android:color/white" | |
android:layout_marginStart="20dp" | |
android:layout_marginBottom="20dp" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintBottom_toBottomOf="parent"/> | |
</androidx.constraintlayout.widget.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment