Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <android.support.v7.widget.CardView
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:id="@+id/imageView2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:srcCompat="@mipmap/ic_launcher"
- android:layout_alignTop="@+id/textView3"
- android:layout_alignParentStart="true"
- android:layout_alignBottom="@+id/textView4" />
- <TextView
- android:id="@+id/textView3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_marginStart="14dp"
- android:layout_marginTop="12dp"
- android:layout_toEndOf="@+id/imageView2"
- android:text="Product Title"
- android:textSize="25sp" />
- <TextView
- android:id="@+id/textView4"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="15dp"
- android:text="This is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple descriptionThis is a simple description"
- android:layout_below="@+id/textView3"
- android:layout_alignStart="@+id/textView3"
- android:layout_alignEnd="@+id/textView3" />
- <Button
- android:id="@+id/button"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Button"
- android:layout_below="@+id/textView4"
- android:layout_marginTop="20dp" />
- </RelativeLayout>
- </android.support.v7.widget.CardView>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement