Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:card_view="http://schemas.android.com/apk/res-auto"
- android:layout_margin="10dp" android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.v7.widget.CardView
- android:id="@+id/card_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:layout_margin="2dp"
- android:elevation="3dp"
- card_view:cardCornerRadius="@dimen/card_album_radius">
- <RelativeLayout
- android:background="#3f3f3f"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:id="@+id/thumbnail"
- android:layout_width="match_parent"
- android:layout_height="290dp"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:layout_alignParentTop="true"
- android:background="@color/viewBg"
- android:clickable="true"
- android:scaleType="fitXY"
- android:adjustViewBounds="true"/>
- <TextView
- android:id="@+id/nameOfMovie"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@id/thumbnail"
- android:layout_marginBottom="4dp"
- android:gravity="center"
- android:text="TextView"
- android:textColor="#FFFFFF"
- android:textSize="21dp" />
- </RelativeLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement