Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@android:color/white"
- android:orientation="vertical"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="10dp"
- android:weightSum="10"
- xmlns:android="http://schemas.android.com/apk/res/android">
- <ImageView
- android:id="@+id/imageRand"
- android:layout_width="match_parent"
- android:layout_height="200dp"
- android:adjustViewBounds="true"
- android:layout_gravity="center"
- android:src="@drawable/ic_image_gray_opaque_24dp"
- android:scaleType="centerCrop" />
- <TextView
- android:id="@+id/titleRand"
- android:text="tespdokfdhkj"
- android:textSize="20sp"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="5dp"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="7"/>
- <TextView
- android:id="@+id/descriptionRand"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:text="jlkjhsdhfbjhxjhjg"
- android:maxLines="5"
- android:layout_weight="6"/>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement