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"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:padding="8dp"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/imageView"
- app:srcCompat="@mipmap/ic_launcher"
- android:layout_width="100dp"
- android:layout_height="140dp"
- android:adjustViewBounds="true"
- android:scaleType="fitXY" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/text1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="22dp"
- android:layout_marginTop="35dp"
- android:layout_weight="1"
- android:text="Text1"
- android:textSize="19sp"
- android:textStyle="bold" />
- <TextView
- android:id="@+id/text2"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@+id/textView"
- android:layout_marginStart="22dp"
- android:layout_marginTop="10dp"
- android:layout_weight="1"
- android:text="Text2"
- android:textSize="15sp" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement