Skip to content

Instantly share code, notes, and snippets.

@nikhilbansal97
Created December 29, 2017 04:33
Show Gist options
  • Save nikhilbansal97/fe00c2b5fa44f5fa7edfdf4c4d9c5536 to your computer and use it in GitHub Desktop.
Save nikhilbansal97/fe00c2b5fa44f5fa7edfdf4c4d9c5536 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/imageView_poster"
android:layout_width="150dp"
android:layout_height="200dp"/>
<TextView
android:id="@+id/textView_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/imageView_poster"
android:layout_margin="20dp"
android:textSize="20sp"
android:textStyle="bold"/>
<TextView
android:id="@+id/textView_release"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/imageView_poster"
android:layout_below="@id/textView_name"
android:layout_margin="20dp"
android:textSize="20sp"/>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment